summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--0001-fix-cpu-affinity-check.patch31
-rw-r--r--0002-fix-futex-check.patch24
-rw-r--r--PHPINFO16
-rw-r--r--REFLECTION1415
-rw-r--r--php-pecl-openswoole26.spec58
5 files changed, 1001 insertions, 543 deletions
diff --git a/0001-fix-cpu-affinity-check.patch b/0001-fix-cpu-affinity-check.patch
deleted file mode 100644
index 0f2f385..0000000
--- a/0001-fix-cpu-affinity-check.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 4104a48da128cec17b9ffdc8d4a15c434e1499ec Mon Sep 17 00:00:00 2001
-From: Remi Collet <remi@remirepo.net>
-Date: Mon, 3 Feb 2025 06:56:47 +0100
-Subject: [PATCH] fix cpu affinity check
-
----
- config.m4 | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/config.m4 b/config.m4
-index 729404684..f49e6a58f 100644
---- a/config.m4
-+++ b/config.m4
-@@ -129,6 +129,7 @@ AC_DEFUN([AC_SWOOLE_CPU_AFFINITY],
- #include <sys/cpuset.h>
- typedef cpuset_t cpu_set_t;
- #else
-+ #define _GNU_SOURCE 1
- #include <sched.h>
- #endif
- ]], [[
-@@ -874,4 +875,4 @@ if test "$PHP_SWOOLE" != "no"; then
- PHP_ADD_BUILD_DIR($ext_builddir/thirdparty/php/sockets)
- PHP_ADD_BUILD_DIR($ext_builddir/thirdparty/php/standard)
- PHP_ADD_BUILD_DIR($ext_builddir/thirdparty/php/curl)
--fi
-\ No newline at end of file
-+fi
---
-2.48.1
-
diff --git a/0002-fix-futex-check.patch b/0002-fix-futex-check.patch
deleted file mode 100644
index 2b973ab..0000000
--- a/0002-fix-futex-check.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 6f3d532e744dd8bfdfd1ce264a559c2f47bc49e3 Mon Sep 17 00:00:00 2001
-From: Remi Collet <remi@remirepo.net>
-Date: Mon, 3 Feb 2025 07:27:53 +0100
-Subject: [PATCH 2/2] fix futex check
-
----
- config.m4 | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/config.m4 b/config.m4
-index f49e6a58f..f09daa052 100644
---- a/config.m4
-+++ b/config.m4
-@@ -163,6 +163,7 @@ AC_DEFUN([AC_SWOOLE_HAVE_FUTEX],
- [
- AC_MSG_CHECKING([for futex])
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
-+ #define _GNU_SOURCE 1
- #include <linux/futex.h>
- #include <syscall.h>
- #include <unistd.h>
---
-2.48.1
-
diff --git a/PHPINFO b/PHPINFO
index f6345ec..594e842 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -1,12 +1,13 @@
openswoole
-Open Swoole => enabled
-Author => Open Swoole Group <hello@openswoole.com>
-Version => 25.2.0
-Built => Feb 3 2025 00:00:00
+OpenSwoole => enabled
+Author => OpenSwoole Group <hello@openswoole.com>
+Version => 26.2.0
+Built => Mar 3 2026 00:00:00
coroutine => enabled with boost asm context
trace_log => enabled
+io_uring => enabled
epoll => enabled
eventfd => enabled
signalfd => enabled
@@ -14,14 +15,14 @@ cpu_affinity => enabled
spinlock => enabled
rwlock => enabled
sockets => enabled
-openssl => OpenSSL 3.2.2 4 Jun 2024
+openssl => OpenSSL 3.5.4 30 Sep 2025
dtls => enabled
http2 => enabled
hook-curl => enabled
pcre => enabled
-c-ares => 1.34.4
+c-ares => 1.34.5
zlib => 1.3.1.zlib-ng
-brotli => E16781312/D16781312
+brotli => E16785408/D16785408
mutex_timedlock => enabled
pthread_barrier => enabled
futex => enabled
@@ -31,5 +32,6 @@ postgresql => enabled
Directive => Local Value => Master Value
openswoole.enable_coroutine => On => On
openswoole.enable_preemptive_scheduler => Off => Off
+openswoole.use_fiber_context => Off => Off
openswoole.display_errors => On => On
openswoole.unixsock_buffer_size => 8388608 => 8388608
diff --git a/REFLECTION b/REFLECTION
index 15fb85a..69db257 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
+Extension [ <persistent> extension #104 openswoole version 26.2.0 ] {
- Dependencies {
Dependency [ swoole (Conflicts) ]
@@ -14,6 +14,9 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
Entry [ openswoole.enable_preemptive_scheduler <ALL> ]
Current = 'Off'
}
+ Entry [ openswoole.use_fiber_context <ALL> ]
+ Current = 'Off'
+ }
Entry [ openswoole.display_errors <ALL> ]
Current = 'On'
}
@@ -22,381 +25,724 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
}
}
- - Constants [357] {
- Constant [ string OPENSWOOLE_VERSION ] { 25.2.0 }
- Constant [ int OPENSWOOLE_VERSION_ID ] { 250200 }
- Constant [ int OPENSWOOLE_MAJOR_VERSION ] { 25 }
- Constant [ int OPENSWOOLE_MINOR_VERSION ] { 2 }
- Constant [ int OPENSWOOLE_RELEASE_VERSION ] { 0 }
- Constant [ string OPENSWOOLE_EXTRA_VERSION ] { }
- Constant [ int SWOOLE_SOCK_TCP ] { 1 }
- Constant [ int SWOOLE_SOCK_TCP6 ] { 3 }
- Constant [ int SWOOLE_SOCK_UDP ] { 2 }
- Constant [ int SWOOLE_SOCK_UDP6 ] { 4 }
- Constant [ int SWOOLE_SOCK_UNIX_DGRAM ] { 6 }
- Constant [ int SWOOLE_SOCK_UNIX_STREAM ] { 5 }
- Constant [ int SWOOLE_TCP ] { 1 }
- Constant [ int SWOOLE_TCP6 ] { 3 }
- Constant [ int SWOOLE_UDP ] { 2 }
- Constant [ int SWOOLE_UDP6 ] { 4 }
- Constant [ int SWOOLE_UNIX_DGRAM ] { 6 }
- Constant [ int SWOOLE_UNIX_STREAM ] { 5 }
- Constant [ bool SWOOLE_SOCK_SYNC ] { }
- Constant [ bool SWOOLE_SOCK_ASYNC ] { 1 }
- Constant [ int SWOOLE_SYNC ] { 2048 }
- Constant [ int SWOOLE_ASYNC ] { 1024 }
- Constant [ int SWOOLE_KEEP ] { 4096 }
- Constant [ int SWOOLE_SSL ] { 512 }
- Constant [ int SWOOLE_SSLv3_METHOD ] { 1 }
- Constant [ int SWOOLE_SSLv3_SERVER_METHOD ] { 2 }
- Constant [ int SWOOLE_SSLv3_CLIENT_METHOD ] { 3 }
- Constant [ int SWOOLE_TLSv1_METHOD ] { 6 }
- Constant [ int SWOOLE_TLSv1_SERVER_METHOD ] { 7 }
- Constant [ int SWOOLE_TLSv1_CLIENT_METHOD ] { 8 }
- Constant [ int SWOOLE_TLSv1_1_METHOD ] { 9 }
- Constant [ int SWOOLE_TLSv1_1_SERVER_METHOD ] { 10 }
- Constant [ int SWOOLE_TLSv1_1_CLIENT_METHOD ] { 11 }
- Constant [ int SWOOLE_TLSv1_2_METHOD ] { 12 }
- Constant [ int SWOOLE_TLSv1_2_SERVER_METHOD ] { 13 }
- Constant [ int SWOOLE_TLSv1_2_CLIENT_METHOD ] { 14 }
- Constant [ int SWOOLE_DTLS_SERVER_METHOD ] { 16 }
- Constant [ int SWOOLE_DTLS_CLIENT_METHOD ] { 15 }
- Constant [ int SWOOLE_SSLv23_METHOD ] { 0 }
- Constant [ int SWOOLE_SSLv23_SERVER_METHOD ] { 4 }
- Constant [ int SWOOLE_SSLv23_CLIENT_METHOD ] { 5 }
- Constant [ int SWOOLE_TLS_METHOD ] { 0 }
- Constant [ int SWOOLE_TLS_SERVER_METHOD ] { 4 }
- Constant [ int SWOOLE_TLS_CLIENT_METHOD ] { 5 }
- Constant [ int SWOOLE_SSL_TLSv1 ] { 8 }
- Constant [ int SWOOLE_SSL_TLSv1_1 ] { 16 }
- Constant [ int SWOOLE_SSL_TLSv1_2 ] { 32 }
- Constant [ int SWOOLE_SSL_TLSv1_3 ] { 64 }
- Constant [ int SWOOLE_SSL_DTLS ] { 128 }
- Constant [ int SWOOLE_SSL_SSLv2 ] { 2 }
- Constant [ int SWOOLE_EVENT_READ ] { 512 }
- Constant [ int SWOOLE_EVENT_WRITE ] { 1024 }
- Constant [ int SWOOLE_STRERROR_SYSTEM ] { 0 }
- Constant [ int SWOOLE_STRERROR_GAI ] { 1 }
- Constant [ int SWOOLE_STRERROR_DNS ] { 2 }
- Constant [ int SWOOLE_STRERROR_SWOOLE ] { 9 }
- Constant [ int SWOOLE_ERROR_MALLOC_FAIL ] { 501 }
- Constant [ int SWOOLE_ERROR_SYSTEM_CALL_FAIL ] { 502 }
- Constant [ int SWOOLE_ERROR_PHP_FATAL_ERROR ] { 503 }
- Constant [ int SWOOLE_ERROR_NAME_TOO_LONG ] { 504 }
- Constant [ int SWOOLE_ERROR_INVALID_PARAMS ] { 505 }
- Constant [ int SWOOLE_ERROR_QUEUE_FULL ] { 506 }
- Constant [ int SWOOLE_ERROR_OPERATION_NOT_SUPPORT ] { 507 }
- Constant [ int SWOOLE_ERROR_PROTOCOL_ERROR ] { 508 }
- Constant [ int SWOOLE_ERROR_WRONG_OPERATION ] { 509 }
- Constant [ int SWOOLE_ERROR_FILE_NOT_EXIST ] { 700 }
- Constant [ int SWOOLE_ERROR_FILE_TOO_LARGE ] { 701 }
- Constant [ int SWOOLE_ERROR_FILE_EMPTY ] { 702 }
- Constant [ int SWOOLE_ERROR_DNSLOOKUP_DUPLICATE_REQUEST ] { 710 }
- Constant [ int SWOOLE_ERROR_DNSLOOKUP_RESOLVE_FAILED ] { 711 }
- Constant [ int SWOOLE_ERROR_DNSLOOKUP_RESOLVE_TIMEOUT ] { 712 }
- Constant [ int SWOOLE_ERROR_DNSLOOKUP_UNSUPPORTED ] { 713 }
- Constant [ int SWOOLE_ERROR_DNSLOOKUP_NO_SERVER ] { 714 }
- Constant [ int SWOOLE_ERROR_BAD_IPV6_ADDRESS ] { 720 }
- Constant [ int SWOOLE_ERROR_UNREGISTERED_SIGNAL ] { 721 }
- Constant [ int SWOOLE_ERROR_EVENT_SOCKET_REMOVED ] { 800 }
- Constant [ int SWOOLE_ERROR_SESSION_CLOSED_BY_SERVER ] { 1001 }
- Constant [ int SWOOLE_ERROR_SESSION_CLOSED_BY_CLIENT ] { 1002 }
- Constant [ int SWOOLE_ERROR_SESSION_CLOSING ] { 1003 }
- Constant [ int SWOOLE_ERROR_SESSION_CLOSED ] { 1004 }
- Constant [ int SWOOLE_ERROR_SESSION_NOT_EXIST ] { 1005 }
- Constant [ int SWOOLE_ERROR_SESSION_INVALID_ID ] { 1006 }
- Constant [ int SWOOLE_ERROR_SESSION_DISCARD_TIMEOUT_DATA ] { 1007 }
- Constant [ int SWOOLE_ERROR_SESSION_DISCARD_DATA ] { 1008 }
- Constant [ int SWOOLE_ERROR_OUTPUT_BUFFER_OVERFLOW ] { 1009 }
- Constant [ int SWOOLE_ERROR_OUTPUT_SEND_YIELD ] { 1010 }
- Constant [ int SWOOLE_ERROR_SSL_NOT_READY ] { 1011 }
- Constant [ int SWOOLE_ERROR_SSL_CANNOT_USE_SENFILE ] { 1012 }
- Constant [ int SWOOLE_ERROR_SSL_EMPTY_PEER_CERTIFICATE ] { 1013 }
- Constant [ int SWOOLE_ERROR_SSL_VERIFY_FAILED ] { 1014 }
- Constant [ int SWOOLE_ERROR_SSL_BAD_CLIENT ] { 1015 }
- Constant [ int SWOOLE_ERROR_SSL_BAD_PROTOCOL ] { 1016 }
- Constant [ int SWOOLE_ERROR_SSL_RESET ] { 1017 }
- Constant [ int SWOOLE_ERROR_SSL_HANDSHAKE_FAILED ] { 1018 }
- Constant [ int SWOOLE_ERROR_PACKAGE_LENGTH_TOO_LARGE ] { 1201 }
- Constant [ int SWOOLE_ERROR_PACKAGE_LENGTH_NOT_FOUND ] { 1202 }
- Constant [ int SWOOLE_ERROR_DATA_LENGTH_TOO_LARGE ] { 1203 }
- Constant [ int SWOOLE_ERROR_TASK_PACKAGE_TOO_BIG ] { 2001 }
- Constant [ int SWOOLE_ERROR_TASK_DISPATCH_FAIL ] { 2002 }
- Constant [ int SWOOLE_ERROR_TASK_TIMEOUT ] { 2003 }
- Constant [ int SWOOLE_ERROR_HTTP2_STREAM_ID_TOO_BIG ] { 3001 }
- Constant [ int SWOOLE_ERROR_HTTP2_STREAM_NO_HEADER ] { 3002 }
- Constant [ int SWOOLE_ERROR_HTTP2_STREAM_NOT_FOUND ] { 3003 }
- Constant [ int SWOOLE_ERROR_HTTP2_STREAM_IGNORE ] { 3004 }
- Constant [ int SWOOLE_ERROR_AIO_BAD_REQUEST ] { 4001 }
- Constant [ int SWOOLE_ERROR_AIO_CANCELED ] { 4002 }
- Constant [ int SWOOLE_ERROR_AIO_TIMEOUT ] { 4003 }
- Constant [ int SWOOLE_ERROR_CLIENT_NO_CONNECTION ] { 5001 }
- Constant [ int SWOOLE_ERROR_SOCKET_CLOSED ] { 6001 }
- Constant [ int SWOOLE_ERROR_SOCKET_POLL_TIMEOUT ] { 6002 }
- Constant [ int SWOOLE_ERROR_SOCKS5_UNSUPPORT_VERSION ] { 7001 }
- Constant [ int SWOOLE_ERROR_SOCKS5_UNSUPPORT_METHOD ] { 7002 }
- Constant [ int SWOOLE_ERROR_SOCKS5_AUTH_FAILED ] { 7003 }
- Constant [ int SWOOLE_ERROR_SOCKS5_SERVER_ERROR ] { 7004 }
- Constant [ int SWOOLE_ERROR_SOCKS5_HANDSHAKE_FAILED ] { 7005 }
- Constant [ int SWOOLE_ERROR_HTTP_PROXY_HANDSHAKE_ERROR ] { 7101 }
- Constant [ int SWOOLE_ERROR_HTTP_INVALID_PROTOCOL ] { 7102 }
- Constant [ int SWOOLE_ERROR_HTTP_PROXY_HANDSHAKE_FAILED ] { 7103 }
- Constant [ int SWOOLE_ERROR_HTTP_PROXY_BAD_RESPONSE ] { 7104 }
- Constant [ int SWOOLE_ERROR_WEBSOCKET_BAD_CLIENT ] { 8501 }
- Constant [ int SWOOLE_ERROR_WEBSOCKET_BAD_OPCODE ] { 8502 }
- Constant [ int SWOOLE_ERROR_WEBSOCKET_UNCONNECTED ] { 8503 }
- Constant [ int SWOOLE_ERROR_WEBSOCKET_HANDSHAKE_FAILED ] { 8504 }
- Constant [ int SWOOLE_ERROR_WEBSOCKET_PACK_FAILED ] { 8505 }
- Constant [ int SWOOLE_ERROR_SERVER_MUST_CREATED_BEFORE_CLIENT ] { 9001 }
- Constant [ int SWOOLE_ERROR_SERVER_TOO_MANY_SOCKET ] { 9002 }
- Constant [ int SWOOLE_ERROR_SERVER_WORKER_TERMINATED ] { 9003 }
- Constant [ int SWOOLE_ERROR_SERVER_INVALID_LISTEN_PORT ] { 9004 }
- Constant [ int SWOOLE_ERROR_SERVER_TOO_MANY_LISTEN_PORT ] { 9005 }
- Constant [ int SWOOLE_ERROR_SERVER_PIPE_BUFFER_FULL ] { 9006 }
- Constant [ int SWOOLE_ERROR_SERVER_NO_IDLE_WORKER ] { 9007 }
- Constant [ int SWOOLE_ERROR_SERVER_ONLY_START_ONE ] { 9008 }
- Constant [ int SWOOLE_ERROR_SERVER_SEND_IN_MASTER ] { 9009 }
- Constant [ int SWOOLE_ERROR_SERVER_INVALID_REQUEST ] { 9010 }
- Constant [ int SWOOLE_ERROR_SERVER_CONNECT_FAIL ] { 9011 }
- Constant [ int SWOOLE_ERROR_SERVER_WORKER_EXIT_TIMEOUT ] { 9012 }
- Constant [ int SWOOLE_ERROR_SERVER_WORKER_ABNORMAL_PIPE_DATA ] { 9013 }
- Constant [ int SWOOLE_ERROR_SERVER_WORKER_UNPROCESSED_DATA ] { 9014 }
- Constant [ int SWOOLE_ERROR_CO_OUT_OF_COROUTINE ] { 10001 }
- Constant [ int SWOOLE_ERROR_CO_HAS_BEEN_BOUND ] { 10002 }
- Constant [ int SWOOLE_ERROR_CO_HAS_BEEN_DISCARDED ] { 10003 }
- Constant [ int SWOOLE_ERROR_CO_MUTEX_DOUBLE_UNLOCK ] { 10004 }
- Constant [ int SWOOLE_ERROR_CO_BLOCK_OBJECT_LOCKED ] { 10005 }
- Constant [ int SWOOLE_ERROR_CO_BLOCK_OBJECT_WAITING ] { 10006 }
- Constant [ int SWOOLE_ERROR_CO_YIELD_FAILED ] { 10007 }
- Constant [ int SWOOLE_ERROR_CO_GETCONTEXT_FAILED ] { 10008 }
- Constant [ int SWOOLE_ERROR_CO_SWAPCONTEXT_FAILED ] { 10009 }
- Constant [ int SWOOLE_ERROR_CO_MAKECONTEXT_FAILED ] { 10010 }
- Constant [ int SWOOLE_ERROR_CO_IOCPINIT_FAILED ] { 10011 }
- Constant [ int SWOOLE_ERROR_CO_PROTECT_STACK_FAILED ] { 10012 }
- Constant [ int SWOOLE_ERROR_CO_STD_THREAD_LINK_ERROR ] { 10013 }
- Constant [ int SWOOLE_ERROR_CO_DISABLED_MULTI_THREAD ] { 10014 }
- Constant [ int SWOOLE_ERROR_CO_CANNOT_CANCEL ] { 10015 }
- Constant [ int SWOOLE_ERROR_CO_NOT_EXISTS ] { 10016 }
- Constant [ int SWOOLE_ERROR_CO_CANCELED ] { 10017 }
- Constant [ int SWOOLE_ERROR_CO_TIMEDOUT ] { 10018 }
- Constant [ int SWOOLE_TRACE_SERVER ] { 2 }
- Constant [ int SWOOLE_TRACE_CLIENT ] { 4 }
- Constant [ int SWOOLE_TRACE_BUFFER ] { 8 }
- Constant [ int SWOOLE_TRACE_CONN ] { 16 }
- Constant [ int SWOOLE_TRACE_EVENT ] { 32 }
- Constant [ int SWOOLE_TRACE_WORKER ] { 64 }
- Constant [ int SWOOLE_TRACE_MEMORY ] { 128 }
- Constant [ int SWOOLE_TRACE_REACTOR ] { 256 }
- Constant [ int SWOOLE_TRACE_PHP ] { 512 }
- Constant [ int SWOOLE_TRACE_HTTP ] { 1024 }
- Constant [ int SWOOLE_TRACE_HTTP2 ] { 2048 }
- Constant [ int SWOOLE_TRACE_EOF_PROTOCOL ] { 4096 }
- Constant [ int SWOOLE_TRACE_LENGTH_PROTOCOL ] { 8192 }
- Constant [ int SWOOLE_TRACE_CLOSE ] { 16384 }
- Constant [ int SWOOLE_TRACE_WEBSOCKET ] { 32768 }
- Constant [ int SWOOLE_TRACE_REDIS_CLIENT ] { 65536 }
- Constant [ int SWOOLE_TRACE_MYSQL_CLIENT ] { 131072 }
- Constant [ int SWOOLE_TRACE_HTTP_CLIENT ] { 262144 }
- Constant [ int SWOOLE_TRACE_AIO ] { 524288 }
- Constant [ int SWOOLE_TRACE_SSL ] { 1048576 }
- Constant [ int SWOOLE_TRACE_NORMAL ] { 2097152 }
- Constant [ int SWOOLE_TRACE_CHANNEL ] { 4194304 }
- Constant [ int SWOOLE_TRACE_TIMER ] { 8388608 }
- Constant [ int SWOOLE_TRACE_SOCKET ] { 16777216 }
- Constant [ int SWOOLE_TRACE_COROUTINE ] { 33554432 }
- Constant [ int SWOOLE_TRACE_CONTEXT ] { 67108864 }
- Constant [ int SWOOLE_TRACE_CO_HTTP_SERVER ] { 134217728 }
- Constant [ int SWOOLE_TRACE_TABLE ] { 268435456 }
- Constant [ int SWOOLE_TRACE_CO_CURL ] { 536870912 }
- Constant [ int SWOOLE_TRACE_CARES ] { 1073741824 }
- Constant [ int SWOOLE_TRACE_ALL ] { 9223372036854775807 }
- Constant [ int SWOOLE_LOG_DEBUG ] { 0 }
- Constant [ int SWOOLE_LOG_TRACE ] { 1 }
- Constant [ int SWOOLE_LOG_INFO ] { 2 }
- Constant [ int SWOOLE_LOG_NOTICE ] { 3 }
- Constant [ int SWOOLE_LOG_WARNING ] { 4 }
- Constant [ int SWOOLE_LOG_ERROR ] { 5 }
- Constant [ int SWOOLE_LOG_NONE ] { 6 }
- Constant [ int SWOOLE_LOG_ROTATION_SINGLE ] { 0 }
- Constant [ int SWOOLE_LOG_ROTATION_MONTHLY ] { 1 }
- Constant [ int SWOOLE_LOG_ROTATION_DAILY ] { 2 }
- Constant [ int SWOOLE_LOG_ROTATION_HOURLY ] { 3 }
- Constant [ int SWOOLE_LOG_ROTATION_EVERY_MINUTE ] { 4 }
- Constant [ int SWOOLE_IPC_NONE ] { 0 }
- Constant [ int SWOOLE_IPC_UNIXSOCK ] { 1 }
- Constant [ int SWOOLE_IPC_SOCKET ] { 3 }
- Constant [ int OPENSWOOLE_STATS_DEFAULT ] { 0 }
- Constant [ int OPENSWOOLE_STATS_JSON ] { 1 }
- Constant [ int OPENSWOOLE_STATS_OPENMETRICS ] { 2 }
- Constant [ int SWOOLE_IOV_MAX ] { 1024 }
- Constant [ int SWOOLE_FILELOCK ] { 2 }
- Constant [ int SWOOLE_MUTEX ] { 3 }
- Constant [ int SWOOLE_SEM ] { 4 }
- Constant [ int SWOOLE_RWLOCK ] { 1 }
- Constant [ int SWOOLE_SPINLOCK ] { 5 }
- Constant [ int SWOOLE_TIMER_MIN_MS ] { 1 }
- Constant [ float SWOOLE_TIMER_MIN_SEC ] { 0.001 }
- Constant [ int SWOOLE_TIMER_MAX_MS ] { 9223372036854775807 }
- Constant [ float SWOOLE_TIMER_MAX_SEC ] { 9.2233720368548E+15 }
- Constant [ int SWOOLE_DEFAULT_MAX_CORO_NUM ] { 100000 }
- Constant [ int SWOOLE_CORO_MAX_NUM_LIMIT ] { 9223372036854775807 }
- Constant [ int SWOOLE_CORO_INIT ] { 0 }
- Constant [ int SWOOLE_CORO_WAITING ] { 1 }
- Constant [ int SWOOLE_CORO_RUNNING ] { 2 }
- Constant [ int SWOOLE_CORO_END ] { 3 }
- Constant [ int SWOOLE_CHANNEL_OK ] { 0 }
- Constant [ int SWOOLE_CHANNEL_TIMEOUT ] { -1 }
- Constant [ int SWOOLE_CHANNEL_CLOSED ] { -2 }
- Constant [ int SWOOLE_CHANNEL_CANCELED ] { -3 }
- Constant [ int SWOOLE_HOOK_TCP ] { 2 }
- Constant [ int SWOOLE_HOOK_UDP ] { 4 }
- Constant [ int SWOOLE_HOOK_UNIX ] { 8 }
- Constant [ int SWOOLE_HOOK_UDG ] { 16 }
- Constant [ int SWOOLE_HOOK_SSL ] { 32 }
- Constant [ int SWOOLE_HOOK_TLS ] { 64 }
- Constant [ int SWOOLE_HOOK_STREAM_FUNCTION ] { 128 }
- Constant [ int SWOOLE_HOOK_STREAM_SELECT ] { 128 }
- Constant [ int SWOOLE_HOOK_FILE ] { 256 }
- Constant [ int SWOOLE_HOOK_STDIO ] { 32768 }
- Constant [ int SWOOLE_HOOK_SLEEP ] { 512 }
- Constant [ int SWOOLE_HOOK_PROC ] { 1024 }
- Constant [ int SWOOLE_HOOK_CURL ] { 2048 }
- Constant [ int SWOOLE_HOOK_NATIVE_CURL ] { 4096 }
- Constant [ int SWOOLE_HOOK_BLOCKING_FUNCTION ] { 8192 }
- Constant [ int SWOOLE_HOOK_SOCKETS ] { 16384 }
- Constant [ int SWOOLE_HOOK_ALL ] { 2147457023 }
- Constant [ int SOCKET_ECANCELED ] { 125 }
- Constant [ int SWOOLE_HTTP_CLIENT_ESTATUS_CONNECT_FAILED ] { -1 }
- Constant [ int SWOOLE_HTTP_CLIENT_ESTATUS_REQUEST_TIMEOUT ] { -2 }
- Constant [ int SWOOLE_HTTP_CLIENT_ESTATUS_SERVER_RESET ] { -3 }
- Constant [ int SWOOLE_HTTP_CLIENT_ESTATUS_SEND_FAILED ] { -4 }
- Constant [ int SWOOLE_HTTP2_TYPE_DATA ] { 0 }
- Constant [ int SWOOLE_HTTP2_TYPE_HEADERS ] { 1 }
- Constant [ int SWOOLE_HTTP2_TYPE_PRIORITY ] { 2 }
- Constant [ int SWOOLE_HTTP2_TYPE_RST_STREAM ] { 3 }
- Constant [ int SWOOLE_HTTP2_TYPE_SETTINGS ] { 4 }
- Constant [ int SWOOLE_HTTP2_TYPE_PUSH_PROMISE ] { 5 }
- Constant [ int SWOOLE_HTTP2_TYPE_PING ] { 6 }
- Constant [ int SWOOLE_HTTP2_TYPE_GOAWAY ] { 7 }
- Constant [ int SWOOLE_HTTP2_TYPE_WINDOW_UPDATE ] { 8 }
- Constant [ int SWOOLE_HTTP2_TYPE_CONTINUATION ] { 9 }
- Constant [ int SWOOLE_HTTP2_ERROR_NO_ERROR ] { 0 }
- Constant [ int SWOOLE_HTTP2_ERROR_PROTOCOL_ERROR ] { 1 }
- Constant [ int SWOOLE_HTTP2_ERROR_INTERNAL_ERROR ] { 2 }
- Constant [ int SWOOLE_HTTP2_ERROR_FLOW_CONTROL_ERROR ] { 3 }
- Constant [ int SWOOLE_HTTP2_ERROR_SETTINGS_TIMEOUT ] { 4 }
- Constant [ int SWOOLE_HTTP2_ERROR_STREAM_CLOSED ] { 5 }
- Constant [ int SWOOLE_HTTP2_ERROR_FRAME_SIZE_ERROR ] { 6 }
- Constant [ int SWOOLE_HTTP2_ERROR_REFUSED_STREAM ] { 7 }
- Constant [ int SWOOLE_HTTP2_ERROR_CANCEL ] { 8 }
- Constant [ int SWOOLE_HTTP2_ERROR_COMPRESSION_ERROR ] { 9 }
- Constant [ int SWOOLE_HTTP2_ERROR_CONNECT_ERROR ] { 10 }
- Constant [ int SWOOLE_HTTP2_ERROR_ENHANCE_YOUR_CALM ] { 11 }
- Constant [ int SWOOLE_HTTP2_ERROR_INADEQUATE_SECURITY ] { 12 }
- Constant [ int SWOOLE_BASE ] { 1 }
- Constant [ int SWOOLE_PROCESS ] { 2 }
- Constant [ int SWOOLE_IPC_UNSOCK ] { 1 }
- Constant [ int SWOOLE_IPC_MSGQUEUE ] { 2 }
- Constant [ int SWOOLE_IPC_PREEMPTIVE ] { 3 }
- Constant [ int SWOOLE_DISPATCH_RESULT_DISCARD_PACKET ] { -1 }
- Constant [ int SWOOLE_DISPATCH_RESULT_CLOSE_CONNECTION ] { -2 }
- Constant [ int SWOOLE_DISPATCH_RESULT_USERFUNC_FALLBACK ] { -3 }
- Constant [ int SWOOLE_TASK_TMPFILE ] { 1 }
- Constant [ int SWOOLE_TASK_SERIALIZE ] { 2 }
- Constant [ int SWOOLE_TASK_NONBLOCK ] { 4 }
- Constant [ int SWOOLE_TASK_CALLBACK ] { 8 }
- Constant [ int SWOOLE_TASK_WAITALL ] { 16 }
- Constant [ int SWOOLE_TASK_COROUTINE ] { 32 }
- Constant [ int SWOOLE_TASK_PEEK ] { 64 }
- Constant [ int SWOOLE_TASK_NOREPLY ] { 128 }
- Constant [ int SWOOLE_WORKER_BUSY ] { 1 }
- Constant [ int SWOOLE_WORKER_IDLE ] { 2 }
- Constant [ int SWOOLE_WORKER_EXIT ] { 3 }
- Constant [ int SWOOLE_WEBSOCKET_STATUS_CONNECTION ] { 1 }
- Constant [ int SWOOLE_WEBSOCKET_STATUS_HANDSHAKE ] { 2 }
- Constant [ int SWOOLE_WEBSOCKET_STATUS_ACTIVE ] { 3 }
- Constant [ int SWOOLE_WEBSOCKET_STATUS_CLOSING ] { 4 }
- Constant [ int SWOOLE_WEBSOCKET_OPCODE_CONTINUATION ] { 0 }
- Constant [ int SWOOLE_WEBSOCKET_OPCODE_TEXT ] { 1 }
- Constant [ int SWOOLE_WEBSOCKET_OPCODE_BINARY ] { 2 }
- Constant [ int SWOOLE_WEBSOCKET_OPCODE_CLOSE ] { 8 }
- Constant [ int SWOOLE_WEBSOCKET_OPCODE_PING ] { 9 }
- Constant [ int SWOOLE_WEBSOCKET_OPCODE_PONG ] { 10 }
- Constant [ int SWOOLE_WEBSOCKET_FLAG_FIN ] { 1 }
- Constant [ int SWOOLE_WEBSOCKET_FLAG_RSV1 ] { 4 }
- Constant [ int SWOOLE_WEBSOCKET_FLAG_RSV2 ] { 8 }
- Constant [ int SWOOLE_WEBSOCKET_FLAG_RSV3 ] { 16 }
- Constant [ int SWOOLE_WEBSOCKET_FLAG_MASK ] { 32 }
- Constant [ int SWOOLE_WEBSOCKET_FLAG_COMPRESS ] { 2 }
- Constant [ int SWOOLE_WEBSOCKET_CLOSE_NORMAL ] { 1000 }
- Constant [ int SWOOLE_WEBSOCKET_CLOSE_GOING_AWAY ] { 1001 }
- Constant [ int SWOOLE_WEBSOCKET_CLOSE_PROTOCOL_ERROR ] { 1002 }
- Constant [ int SWOOLE_WEBSOCKET_CLOSE_DATA_ERROR ] { 1003 }
- Constant [ int SWOOLE_WEBSOCKET_CLOSE_STATUS_ERROR ] { 1005 }
- Constant [ int SWOOLE_WEBSOCKET_CLOSE_ABNORMAL ] { 1006 }
- Constant [ int SWOOLE_WEBSOCKET_CLOSE_MESSAGE_ERROR ] { 1007 }
- Constant [ int SWOOLE_WEBSOCKET_CLOSE_POLICY_ERROR ] { 1008 }
- Constant [ int SWOOLE_WEBSOCKET_CLOSE_MESSAGE_TOO_BIG ] { 1009 }
- Constant [ int SWOOLE_WEBSOCKET_CLOSE_EXTENSION_MISSING ] { 1010 }
- Constant [ int SWOOLE_WEBSOCKET_CLOSE_SERVER_ERROR ] { 1011 }
- Constant [ int SWOOLE_WEBSOCKET_CLOSE_TLS ] { 1015 }
- Constant [ int WEBSOCKET_STATUS_CONNECTION ] { 1 }
- Constant [ int WEBSOCKET_STATUS_HANDSHAKE ] { 2 }
- Constant [ int WEBSOCKET_STATUS_FRAME ] { 3 }
- Constant [ int WEBSOCKET_STATUS_ACTIVE ] { 3 }
- Constant [ int WEBSOCKET_STATUS_CLOSING ] { 4 }
- Constant [ int WEBSOCKET_OPCODE_CONTINUATION ] { 0 }
- Constant [ int WEBSOCKET_OPCODE_TEXT ] { 1 }
- Constant [ int WEBSOCKET_OPCODE_BINARY ] { 2 }
- Constant [ int WEBSOCKET_OPCODE_CLOSE ] { 8 }
- Constant [ int WEBSOCKET_OPCODE_PING ] { 9 }
- Constant [ int WEBSOCKET_OPCODE_PONG ] { 10 }
- Constant [ int WEBSOCKET_CLOSE_NORMAL ] { 1000 }
- Constant [ int WEBSOCKET_CLOSE_GOING_AWAY ] { 1001 }
- Constant [ int WEBSOCKET_CLOSE_PROTOCOL_ERROR ] { 1002 }
- Constant [ int WEBSOCKET_CLOSE_DATA_ERROR ] { 1003 }
- Constant [ int WEBSOCKET_CLOSE_STATUS_ERROR ] { 1005 }
- Constant [ int WEBSOCKET_CLOSE_ABNORMAL ] { 1006 }
- Constant [ int WEBSOCKET_CLOSE_MESSAGE_ERROR ] { 1007 }
- Constant [ int WEBSOCKET_CLOSE_POLICY_ERROR ] { 1008 }
- Constant [ int WEBSOCKET_CLOSE_MESSAGE_TOO_BIG ] { 1009 }
- Constant [ int WEBSOCKET_CLOSE_EXTENSION_MISSING ] { 1010 }
- Constant [ int WEBSOCKET_CLOSE_SERVER_ERROR ] { 1011 }
- Constant [ int WEBSOCKET_CLOSE_TLS ] { 1015 }
- Constant [ int OPENSWOOLE_PGSQL_ASSOC ] { 1 }
- Constant [ int OPENSWOOLE_PGSQL_NUM ] { 2 }
- Constant [ int OPENSWOOLE_PGSQL_BOTH ] { 3 }
- Constant [ int OPENSWOOLE_PGRES_EMPTY_QUERY ] { 0 }
- Constant [ int OPENSWOOLE_PGRES_COMMAND_OK ] { 1 }
- Constant [ int OPENSWOOLE_PGRES_TUPLES_OK ] { 2 }
- Constant [ int OPENSWOOLE_PGRES_BAD_RESPONSE ] { 5 }
- Constant [ int OPENSWOOLE_PGRES_NONFATAL_ERROR ] { 6 }
- Constant [ int OPENSWOOLE_PGRES_FATAL_ERROR ] { 7 }
- Constant [ int OPENSWOOLE_PG_CONNECTION_OK ] { 0 }
- Constant [ int OPENSWOOLE_PG_CONNECTION_BAD ] { 1 }
- Constant [ int OPENSWOOLE_PG_CONNECTION_STARTED ] { 2 }
- Constant [ int OPENSWOOLE_PG_CONNECTION_AWAITING_RESPONSE ] { 4 }
- Constant [ int OPENSWOOLE_PG_CONNECTION_AUTH_OK ] { 5 }
- Constant [ int OPENSWOOLE_PG_CONNECTION_SETENV ] { 6 }
- Constant [ int OPENSWOOLE_PG_CONNECTION_SSL_STARTUP ] { 7 }
- Constant [ int OPENSWOOLE_PG_CONNECTION_NEEDED ] { 8 }
+ - Constants [700] {
+ Constant [ <persistent> string OPENSWOOLE_VERSION ] { 26.2.0 }
+ Constant [ <persistent> string SWOOLE_VERSION ] { 26.2.0 }
+ Constant [ <persistent> int OPENSWOOLE_VERSION_ID ] { 260200 }
+ Constant [ <persistent> int SWOOLE_VERSION_ID ] { 260200 }
+ Constant [ <persistent> int OPENSWOOLE_MAJOR_VERSION ] { 26 }
+ Constant [ <persistent> int SWOOLE_MAJOR_VERSION ] { 26 }
+ Constant [ <persistent> int OPENSWOOLE_MINOR_VERSION ] { 2 }
+ Constant [ <persistent> int SWOOLE_MINOR_VERSION ] { 2 }
+ Constant [ <persistent> int OPENSWOOLE_RELEASE_VERSION ] { 0 }
+ Constant [ <persistent> int SWOOLE_RELEASE_VERSION ] { 0 }
+ Constant [ <persistent> string OPENSWOOLE_EXTRA_VERSION ] { }
+ Constant [ <persistent> string SWOOLE_EXTRA_VERSION ] { }
+ Constant [ <persistent> int OPENSWOOLE_SOCK_TCP ] { 1 }
+ Constant [ <persistent> int SWOOLE_SOCK_TCP ] { 1 }
+ Constant [ <persistent> int OPENSWOOLE_SOCK_TCP6 ] { 3 }
+ Constant [ <persistent> int SWOOLE_SOCK_TCP6 ] { 3 }
+ Constant [ <persistent> int OPENSWOOLE_SOCK_UDP ] { 2 }
+ Constant [ <persistent> int SWOOLE_SOCK_UDP ] { 2 }
+ Constant [ <persistent> int OPENSWOOLE_SOCK_UDP6 ] { 4 }
+ Constant [ <persistent> int SWOOLE_SOCK_UDP6 ] { 4 }
+ Constant [ <persistent> int OPENSWOOLE_SOCK_UNIX_DGRAM ] { 6 }
+ Constant [ <persistent> int SWOOLE_SOCK_UNIX_DGRAM ] { 6 }
+ Constant [ <persistent> int OPENSWOOLE_SOCK_UNIX_STREAM ] { 5 }
+ Constant [ <persistent> int SWOOLE_SOCK_UNIX_STREAM ] { 5 }
+ Constant [ <persistent> int OPENSWOOLE_TCP ] { 1 }
+ Constant [ <persistent> int SWOOLE_TCP ] { 1 }
+ Constant [ <persistent> int OPENSWOOLE_TCP6 ] { 3 }
+ Constant [ <persistent> int SWOOLE_TCP6 ] { 3 }
+ Constant [ <persistent> int OPENSWOOLE_UDP ] { 2 }
+ Constant [ <persistent> int SWOOLE_UDP ] { 2 }
+ Constant [ <persistent> int OPENSWOOLE_UDP6 ] { 4 }
+ Constant [ <persistent> int SWOOLE_UDP6 ] { 4 }
+ Constant [ <persistent> int OPENSWOOLE_UNIX_DGRAM ] { 6 }
+ Constant [ <persistent> int SWOOLE_UNIX_DGRAM ] { 6 }
+ Constant [ <persistent> int OPENSWOOLE_UNIX_STREAM ] { 5 }
+ Constant [ <persistent> int SWOOLE_UNIX_STREAM ] { 5 }
+ Constant [ <persistent> bool OPENSWOOLE_SOCK_SYNC ] { }
+ Constant [ <persistent> int SWOOLE_SOCK_SYNC ] { 0 }
+ Constant [ <persistent> bool OPENSWOOLE_SOCK_ASYNC ] { 1 }
+ Constant [ <persistent> int SWOOLE_SOCK_ASYNC ] { 1 }
+ Constant [ <persistent> int OPENSWOOLE_SYNC ] { 2048 }
+ Constant [ <persistent> int SWOOLE_SYNC ] { 2048 }
+ Constant [ <persistent> int OPENSWOOLE_ASYNC ] { 1024 }
+ Constant [ <persistent> int SWOOLE_ASYNC ] { 1024 }
+ Constant [ <persistent> int OPENSWOOLE_KEEP ] { 4096 }
+ Constant [ <persistent> int SWOOLE_KEEP ] { 4096 }
+ Constant [ <persistent> int OPENSWOOLE_SELECT ] { 5 }
+ Constant [ <persistent> int SWOOLE_SELECT ] { 5 }
+ Constant [ <persistent> int OPENSWOOLE_EPOLL ] { 2 }
+ Constant [ <persistent> int SWOOLE_EPOLL ] { 2 }
+ Constant [ <persistent> int OPENSWOOLE_KQUEUE ] { 3 }
+ Constant [ <persistent> int SWOOLE_KQUEUE ] { 3 }
+ Constant [ <persistent> int OPENSWOOLE_POLL ] { 4 }
+ Constant [ <persistent> int SWOOLE_POLL ] { 4 }
+ Constant [ <persistent> int OPENSWOOLE_IO_URING ] { 1 }
+ Constant [ <persistent> int SWOOLE_IO_URING ] { 1 }
+ Constant [ <persistent> int OPENSWOOLE_SSL ] { 512 }
+ Constant [ <persistent> int SWOOLE_SSL ] { 512 }
+ Constant [ <persistent> int OPENSWOOLE_SSLv3_METHOD ] { 1 }
+ Constant [ <persistent> int SWOOLE_SSLv3_METHOD ] { 1 }
+ Constant [ <persistent> int OPENSWOOLE_SSLv3_SERVER_METHOD ] { 2 }
+ Constant [ <persistent> int SWOOLE_SSLv3_SERVER_METHOD ] { 2 }
+ Constant [ <persistent> int OPENSWOOLE_SSLv3_CLIENT_METHOD ] { 3 }
+ Constant [ <persistent> int SWOOLE_SSLv3_CLIENT_METHOD ] { 3 }
+ Constant [ <persistent> int OPENSWOOLE_TLSv1_METHOD ] { 6 }
+ Constant [ <persistent> int SWOOLE_TLSv1_METHOD ] { 6 }
+ Constant [ <persistent> int OPENSWOOLE_TLSv1_SERVER_METHOD ] { 7 }
+ Constant [ <persistent> int SWOOLE_TLSv1_SERVER_METHOD ] { 7 }
+ Constant [ <persistent> int OPENSWOOLE_TLSv1_CLIENT_METHOD ] { 8 }
+ Constant [ <persistent> int SWOOLE_TLSv1_CLIENT_METHOD ] { 8 }
+ Constant [ <persistent> int OPENSWOOLE_TLSv1_1_METHOD ] { 9 }
+ Constant [ <persistent> int SWOOLE_TLSv1_1_METHOD ] { 9 }
+ Constant [ <persistent> int OPENSWOOLE_TLSv1_1_SERVER_METHOD ] { 10 }
+ Constant [ <persistent> int SWOOLE_TLSv1_1_SERVER_METHOD ] { 10 }
+ Constant [ <persistent> int OPENSWOOLE_TLSv1_1_CLIENT_METHOD ] { 11 }
+ Constant [ <persistent> int SWOOLE_TLSv1_1_CLIENT_METHOD ] { 11 }
+ Constant [ <persistent> int OPENSWOOLE_TLSv1_2_METHOD ] { 12 }
+ Constant [ <persistent> int SWOOLE_TLSv1_2_METHOD ] { 12 }
+ Constant [ <persistent> int OPENSWOOLE_TLSv1_2_SERVER_METHOD ] { 13 }
+ Constant [ <persistent> int SWOOLE_TLSv1_2_SERVER_METHOD ] { 13 }
+ Constant [ <persistent> int OPENSWOOLE_TLSv1_2_CLIENT_METHOD ] { 14 }
+ Constant [ <persistent> int SWOOLE_TLSv1_2_CLIENT_METHOD ] { 14 }
+ Constant [ <persistent> int OPENSWOOLE_DTLS_SERVER_METHOD ] { 16 }
+ Constant [ <persistent> int SWOOLE_DTLS_SERVER_METHOD ] { 16 }
+ Constant [ <persistent> int OPENSWOOLE_DTLS_CLIENT_METHOD ] { 15 }
+ Constant [ <persistent> int SWOOLE_DTLS_CLIENT_METHOD ] { 15 }
+ Constant [ <persistent> int OPENSWOOLE_SSLv23_METHOD ] { 0 }
+ Constant [ <persistent> int SWOOLE_SSLv23_METHOD ] { 0 }
+ Constant [ <persistent> int OPENSWOOLE_SSLv23_SERVER_METHOD ] { 4 }
+ Constant [ <persistent> int SWOOLE_SSLv23_SERVER_METHOD ] { 4 }
+ Constant [ <persistent> int OPENSWOOLE_SSLv23_CLIENT_METHOD ] { 5 }
+ Constant [ <persistent> int SWOOLE_SSLv23_CLIENT_METHOD ] { 5 }
+ Constant [ <persistent> int OPENSWOOLE_TLS_METHOD ] { 0 }
+ Constant [ <persistent> int SWOOLE_TLS_METHOD ] { 0 }
+ Constant [ <persistent> int OPENSWOOLE_TLS_SERVER_METHOD ] { 4 }
+ Constant [ <persistent> int SWOOLE_TLS_SERVER_METHOD ] { 4 }
+ Constant [ <persistent> int OPENSWOOLE_TLS_CLIENT_METHOD ] { 5 }
+ Constant [ <persistent> int SWOOLE_TLS_CLIENT_METHOD ] { 5 }
+ Constant [ <persistent> int OPENSWOOLE_SSL_TLSv1 ] { 8 }
+ Constant [ <persistent> int SWOOLE_SSL_TLSv1 ] { 8 }
+ Constant [ <persistent> int OPENSWOOLE_SSL_TLSv1_1 ] { 16 }
+ Constant [ <persistent> int SWOOLE_SSL_TLSv1_1 ] { 16 }
+ Constant [ <persistent> int OPENSWOOLE_SSL_TLSv1_2 ] { 32 }
+ Constant [ <persistent> int SWOOLE_SSL_TLSv1_2 ] { 32 }
+ Constant [ <persistent> int OPENSWOOLE_SSL_TLSv1_3 ] { 64 }
+ Constant [ <persistent> int SWOOLE_SSL_TLSv1_3 ] { 64 }
+ Constant [ <persistent> int OPENSWOOLE_SSL_DTLS ] { 128 }
+ Constant [ <persistent> int SWOOLE_SSL_DTLS ] { 128 }
+ Constant [ <persistent> int OPENSWOOLE_SSL_SSLv2 ] { 2 }
+ Constant [ <persistent> int SWOOLE_SSL_SSLv2 ] { 2 }
+ Constant [ <persistent> int OPENSWOOLE_EVENT_READ ] { 512 }
+ Constant [ <persistent> int SWOOLE_EVENT_READ ] { 512 }
+ Constant [ <persistent> int OPENSWOOLE_EVENT_WRITE ] { 1024 }
+ Constant [ <persistent> int SWOOLE_EVENT_WRITE ] { 1024 }
+ Constant [ <persistent> int OPENSWOOLE_STRERROR_SYSTEM ] { 0 }
+ Constant [ <persistent> int SWOOLE_STRERROR_SYSTEM ] { 0 }
+ Constant [ <persistent> int OPENSWOOLE_STRERROR_GAI ] { 1 }
+ Constant [ <persistent> int SWOOLE_STRERROR_GAI ] { 1 }
+ Constant [ <persistent> int OPENSWOOLE_STRERROR_DNS ] { 2 }
+ Constant [ <persistent> int SWOOLE_STRERROR_DNS ] { 2 }
+ Constant [ <persistent> int OPENSWOOLE_STRERROR_SWOOLE ] { 9 }
+ Constant [ <persistent> int SWOOLE_STRERROR_SWOOLE ] { 9 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_MALLOC_FAIL ] { 501 }
+ Constant [ <persistent> int SWOOLE_ERROR_MALLOC_FAIL ] { 501 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SYSTEM_CALL_FAIL ] { 502 }
+ Constant [ <persistent> int SWOOLE_ERROR_SYSTEM_CALL_FAIL ] { 502 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_PHP_FATAL_ERROR ] { 503 }
+ Constant [ <persistent> int SWOOLE_ERROR_PHP_FATAL_ERROR ] { 503 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_NAME_TOO_LONG ] { 504 }
+ Constant [ <persistent> int SWOOLE_ERROR_NAME_TOO_LONG ] { 504 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_INVALID_PARAMS ] { 505 }
+ Constant [ <persistent> int SWOOLE_ERROR_INVALID_PARAMS ] { 505 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_QUEUE_FULL ] { 506 }
+ Constant [ <persistent> int SWOOLE_ERROR_QUEUE_FULL ] { 506 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_OPERATION_NOT_SUPPORT ] { 507 }
+ Constant [ <persistent> int SWOOLE_ERROR_OPERATION_NOT_SUPPORT ] { 507 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_PROTOCOL_ERROR ] { 508 }
+ Constant [ <persistent> int SWOOLE_ERROR_PROTOCOL_ERROR ] { 508 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_WRONG_OPERATION ] { 509 }
+ Constant [ <persistent> int SWOOLE_ERROR_WRONG_OPERATION ] { 509 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_FILE_NOT_EXIST ] { 700 }
+ Constant [ <persistent> int SWOOLE_ERROR_FILE_NOT_EXIST ] { 700 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_FILE_TOO_LARGE ] { 701 }
+ Constant [ <persistent> int SWOOLE_ERROR_FILE_TOO_LARGE ] { 701 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_FILE_EMPTY ] { 702 }
+ Constant [ <persistent> int SWOOLE_ERROR_FILE_EMPTY ] { 702 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_DNSLOOKUP_DUPLICATE_REQUEST ] { 710 }
+ Constant [ <persistent> int SWOOLE_ERROR_DNSLOOKUP_DUPLICATE_REQUEST ] { 710 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_DNSLOOKUP_RESOLVE_FAILED ] { 711 }
+ Constant [ <persistent> int SWOOLE_ERROR_DNSLOOKUP_RESOLVE_FAILED ] { 711 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_DNSLOOKUP_RESOLVE_TIMEOUT ] { 712 }
+ Constant [ <persistent> int SWOOLE_ERROR_DNSLOOKUP_RESOLVE_TIMEOUT ] { 712 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_DNSLOOKUP_UNSUPPORTED ] { 713 }
+ Constant [ <persistent> int SWOOLE_ERROR_DNSLOOKUP_UNSUPPORTED ] { 713 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_DNSLOOKUP_NO_SERVER ] { 714 }
+ Constant [ <persistent> int SWOOLE_ERROR_DNSLOOKUP_NO_SERVER ] { 714 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_BAD_IPV6_ADDRESS ] { 720 }
+ Constant [ <persistent> int SWOOLE_ERROR_BAD_IPV6_ADDRESS ] { 720 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_UNREGISTERED_SIGNAL ] { 721 }
+ Constant [ <persistent> int SWOOLE_ERROR_UNREGISTERED_SIGNAL ] { 721 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_EVENT_SOCKET_REMOVED ] { 800 }
+ Constant [ <persistent> int SWOOLE_ERROR_EVENT_SOCKET_REMOVED ] { 800 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SESSION_CLOSED_BY_SERVER ] { 1001 }
+ Constant [ <persistent> int SWOOLE_ERROR_SESSION_CLOSED_BY_SERVER ] { 1001 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SESSION_CLOSED_BY_CLIENT ] { 1002 }
+ Constant [ <persistent> int SWOOLE_ERROR_SESSION_CLOSED_BY_CLIENT ] { 1002 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SESSION_CLOSING ] { 1003 }
+ Constant [ <persistent> int SWOOLE_ERROR_SESSION_CLOSING ] { 1003 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SESSION_CLOSED ] { 1004 }
+ Constant [ <persistent> int SWOOLE_ERROR_SESSION_CLOSED ] { 1004 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SESSION_NOT_EXIST ] { 1005 }
+ Constant [ <persistent> int SWOOLE_ERROR_SESSION_NOT_EXIST ] { 1005 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SESSION_INVALID_ID ] { 1006 }
+ Constant [ <persistent> int SWOOLE_ERROR_SESSION_INVALID_ID ] { 1006 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SESSION_DISCARD_TIMEOUT_DATA ] { 1007 }
+ Constant [ <persistent> int SWOOLE_ERROR_SESSION_DISCARD_TIMEOUT_DATA ] { 1007 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SESSION_DISCARD_DATA ] { 1008 }
+ Constant [ <persistent> int SWOOLE_ERROR_SESSION_DISCARD_DATA ] { 1008 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_OUTPUT_BUFFER_OVERFLOW ] { 1009 }
+ Constant [ <persistent> int SWOOLE_ERROR_OUTPUT_BUFFER_OVERFLOW ] { 1009 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_OUTPUT_SEND_YIELD ] { 1010 }
+ Constant [ <persistent> int SWOOLE_ERROR_OUTPUT_SEND_YIELD ] { 1010 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SSL_NOT_READY ] { 1011 }
+ Constant [ <persistent> int SWOOLE_ERROR_SSL_NOT_READY ] { 1011 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SSL_CANNOT_USE_SENFILE ] { 1012 }
+ Constant [ <persistent> int SWOOLE_ERROR_SSL_CANNOT_USE_SENFILE ] { 1012 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SSL_EMPTY_PEER_CERTIFICATE ] { 1013 }
+ Constant [ <persistent> int SWOOLE_ERROR_SSL_EMPTY_PEER_CERTIFICATE ] { 1013 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SSL_VERIFY_FAILED ] { 1014 }
+ Constant [ <persistent> int SWOOLE_ERROR_SSL_VERIFY_FAILED ] { 1014 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SSL_BAD_CLIENT ] { 1015 }
+ Constant [ <persistent> int SWOOLE_ERROR_SSL_BAD_CLIENT ] { 1015 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SSL_BAD_PROTOCOL ] { 1016 }
+ Constant [ <persistent> int SWOOLE_ERROR_SSL_BAD_PROTOCOL ] { 1016 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SSL_RESET ] { 1017 }
+ Constant [ <persistent> int SWOOLE_ERROR_SSL_RESET ] { 1017 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SSL_HANDSHAKE_FAILED ] { 1018 }
+ Constant [ <persistent> int SWOOLE_ERROR_SSL_HANDSHAKE_FAILED ] { 1018 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_PACKAGE_LENGTH_TOO_LARGE ] { 1201 }
+ Constant [ <persistent> int SWOOLE_ERROR_PACKAGE_LENGTH_TOO_LARGE ] { 1201 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_PACKAGE_LENGTH_NOT_FOUND ] { 1202 }
+ Constant [ <persistent> int SWOOLE_ERROR_PACKAGE_LENGTH_NOT_FOUND ] { 1202 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_DATA_LENGTH_TOO_LARGE ] { 1203 }
+ Constant [ <persistent> int SWOOLE_ERROR_DATA_LENGTH_TOO_LARGE ] { 1203 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_TASK_PACKAGE_TOO_BIG ] { 2001 }
+ Constant [ <persistent> int SWOOLE_ERROR_TASK_PACKAGE_TOO_BIG ] { 2001 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_TASK_DISPATCH_FAIL ] { 2002 }
+ Constant [ <persistent> int SWOOLE_ERROR_TASK_DISPATCH_FAIL ] { 2002 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_TASK_TIMEOUT ] { 2003 }
+ Constant [ <persistent> int SWOOLE_ERROR_TASK_TIMEOUT ] { 2003 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_HTTP2_STREAM_ID_TOO_BIG ] { 3001 }
+ Constant [ <persistent> int SWOOLE_ERROR_HTTP2_STREAM_ID_TOO_BIG ] { 3001 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_HTTP2_STREAM_NO_HEADER ] { 3002 }
+ Constant [ <persistent> int SWOOLE_ERROR_HTTP2_STREAM_NO_HEADER ] { 3002 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_HTTP2_STREAM_NOT_FOUND ] { 3003 }
+ Constant [ <persistent> int SWOOLE_ERROR_HTTP2_STREAM_NOT_FOUND ] { 3003 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_HTTP2_STREAM_IGNORE ] { 3004 }
+ Constant [ <persistent> int SWOOLE_ERROR_HTTP2_STREAM_IGNORE ] { 3004 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_AIO_BAD_REQUEST ] { 4001 }
+ Constant [ <persistent> int SWOOLE_ERROR_AIO_BAD_REQUEST ] { 4001 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_AIO_CANCELED ] { 4002 }
+ Constant [ <persistent> int SWOOLE_ERROR_AIO_CANCELED ] { 4002 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_AIO_TIMEOUT ] { 4003 }
+ Constant [ <persistent> int SWOOLE_ERROR_AIO_TIMEOUT ] { 4003 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_CLIENT_NO_CONNECTION ] { 5001 }
+ Constant [ <persistent> int SWOOLE_ERROR_CLIENT_NO_CONNECTION ] { 5001 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SOCKET_CLOSED ] { 6001 }
+ Constant [ <persistent> int SWOOLE_ERROR_SOCKET_CLOSED ] { 6001 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SOCKET_POLL_TIMEOUT ] { 6002 }
+ Constant [ <persistent> int SWOOLE_ERROR_SOCKET_POLL_TIMEOUT ] { 6002 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SOCKS5_UNSUPPORT_VERSION ] { 7001 }
+ Constant [ <persistent> int SWOOLE_ERROR_SOCKS5_UNSUPPORT_VERSION ] { 7001 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SOCKS5_UNSUPPORT_METHOD ] { 7002 }
+ Constant [ <persistent> int SWOOLE_ERROR_SOCKS5_UNSUPPORT_METHOD ] { 7002 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SOCKS5_AUTH_FAILED ] { 7003 }
+ Constant [ <persistent> int SWOOLE_ERROR_SOCKS5_AUTH_FAILED ] { 7003 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SOCKS5_SERVER_ERROR ] { 7004 }
+ Constant [ <persistent> int SWOOLE_ERROR_SOCKS5_SERVER_ERROR ] { 7004 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SOCKS5_HANDSHAKE_FAILED ] { 7005 }
+ Constant [ <persistent> int SWOOLE_ERROR_SOCKS5_HANDSHAKE_FAILED ] { 7005 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_HTTP_PROXY_HANDSHAKE_ERROR ] { 7101 }
+ Constant [ <persistent> int SWOOLE_ERROR_HTTP_PROXY_HANDSHAKE_ERROR ] { 7101 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_HTTP_INVALID_PROTOCOL ] { 7102 }
+ Constant [ <persistent> int SWOOLE_ERROR_HTTP_INVALID_PROTOCOL ] { 7102 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_HTTP_PROXY_HANDSHAKE_FAILED ] { 7103 }
+ Constant [ <persistent> int SWOOLE_ERROR_HTTP_PROXY_HANDSHAKE_FAILED ] { 7103 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_HTTP_PROXY_BAD_RESPONSE ] { 7104 }
+ Constant [ <persistent> int SWOOLE_ERROR_HTTP_PROXY_BAD_RESPONSE ] { 7104 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_WEBSOCKET_BAD_CLIENT ] { 8501 }
+ Constant [ <persistent> int SWOOLE_ERROR_WEBSOCKET_BAD_CLIENT ] { 8501 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_WEBSOCKET_BAD_OPCODE ] { 8502 }
+ Constant [ <persistent> int SWOOLE_ERROR_WEBSOCKET_BAD_OPCODE ] { 8502 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_WEBSOCKET_UNCONNECTED ] { 8503 }
+ Constant [ <persistent> int SWOOLE_ERROR_WEBSOCKET_UNCONNECTED ] { 8503 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_WEBSOCKET_HANDSHAKE_FAILED ] { 8504 }
+ Constant [ <persistent> int SWOOLE_ERROR_WEBSOCKET_HANDSHAKE_FAILED ] { 8504 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_WEBSOCKET_PACK_FAILED ] { 8505 }
+ Constant [ <persistent> int SWOOLE_ERROR_WEBSOCKET_PACK_FAILED ] { 8505 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SERVER_MUST_CREATED_BEFORE_CLIENT ] { 9001 }
+ Constant [ <persistent> int SWOOLE_ERROR_SERVER_MUST_CREATED_BEFORE_CLIENT ] { 9001 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SERVER_TOO_MANY_SOCKET ] { 9002 }
+ Constant [ <persistent> int SWOOLE_ERROR_SERVER_TOO_MANY_SOCKET ] { 9002 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SERVER_WORKER_TERMINATED ] { 9003 }
+ Constant [ <persistent> int SWOOLE_ERROR_SERVER_WORKER_TERMINATED ] { 9003 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SERVER_INVALID_LISTEN_PORT ] { 9004 }
+ Constant [ <persistent> int SWOOLE_ERROR_SERVER_INVALID_LISTEN_PORT ] { 9004 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SERVER_TOO_MANY_LISTEN_PORT ] { 9005 }
+ Constant [ <persistent> int SWOOLE_ERROR_SERVER_TOO_MANY_LISTEN_PORT ] { 9005 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SERVER_PIPE_BUFFER_FULL ] { 9006 }
+ Constant [ <persistent> int SWOOLE_ERROR_SERVER_PIPE_BUFFER_FULL ] { 9006 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SERVER_NO_IDLE_WORKER ] { 9007 }
+ Constant [ <persistent> int SWOOLE_ERROR_SERVER_NO_IDLE_WORKER ] { 9007 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SERVER_ONLY_START_ONE ] { 9008 }
+ Constant [ <persistent> int SWOOLE_ERROR_SERVER_ONLY_START_ONE ] { 9008 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SERVER_SEND_IN_MASTER ] { 9009 }
+ Constant [ <persistent> int SWOOLE_ERROR_SERVER_SEND_IN_MASTER ] { 9009 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SERVER_INVALID_REQUEST ] { 9010 }
+ Constant [ <persistent> int SWOOLE_ERROR_SERVER_INVALID_REQUEST ] { 9010 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SERVER_CONNECT_FAIL ] { 9011 }
+ Constant [ <persistent> int SWOOLE_ERROR_SERVER_CONNECT_FAIL ] { 9011 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SERVER_WORKER_EXIT_TIMEOUT ] { 9012 }
+ Constant [ <persistent> int SWOOLE_ERROR_SERVER_WORKER_EXIT_TIMEOUT ] { 9012 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SERVER_WORKER_ABNORMAL_PIPE_DATA ] { 9013 }
+ Constant [ <persistent> int SWOOLE_ERROR_SERVER_WORKER_ABNORMAL_PIPE_DATA ] { 9013 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_SERVER_WORKER_UNPROCESSED_DATA ] { 9014 }
+ Constant [ <persistent> int SWOOLE_ERROR_SERVER_WORKER_UNPROCESSED_DATA ] { 9014 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_CO_OUT_OF_COROUTINE ] { 10001 }
+ Constant [ <persistent> int SWOOLE_ERROR_CO_OUT_OF_COROUTINE ] { 10001 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_CO_HAS_BEEN_BOUND ] { 10002 }
+ Constant [ <persistent> int SWOOLE_ERROR_CO_HAS_BEEN_BOUND ] { 10002 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_CO_HAS_BEEN_DISCARDED ] { 10003 }
+ Constant [ <persistent> int SWOOLE_ERROR_CO_HAS_BEEN_DISCARDED ] { 10003 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_CO_MUTEX_DOUBLE_UNLOCK ] { 10004 }
+ Constant [ <persistent> int SWOOLE_ERROR_CO_MUTEX_DOUBLE_UNLOCK ] { 10004 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_CO_BLOCK_OBJECT_LOCKED ] { 10005 }
+ Constant [ <persistent> int SWOOLE_ERROR_CO_BLOCK_OBJECT_LOCKED ] { 10005 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_CO_BLOCK_OBJECT_WAITING ] { 10006 }
+ Constant [ <persistent> int SWOOLE_ERROR_CO_BLOCK_OBJECT_WAITING ] { 10006 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_CO_YIELD_FAILED ] { 10007 }
+ Constant [ <persistent> int SWOOLE_ERROR_CO_YIELD_FAILED ] { 10007 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_CO_GETCONTEXT_FAILED ] { 10008 }
+ Constant [ <persistent> int SWOOLE_ERROR_CO_GETCONTEXT_FAILED ] { 10008 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_CO_SWAPCONTEXT_FAILED ] { 10009 }
+ Constant [ <persistent> int SWOOLE_ERROR_CO_SWAPCONTEXT_FAILED ] { 10009 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_CO_MAKECONTEXT_FAILED ] { 10010 }
+ Constant [ <persistent> int SWOOLE_ERROR_CO_MAKECONTEXT_FAILED ] { 10010 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_CO_IOCPINIT_FAILED ] { 10011 }
+ Constant [ <persistent> int SWOOLE_ERROR_CO_IOCPINIT_FAILED ] { 10011 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_CO_PROTECT_STACK_FAILED ] { 10012 }
+ Constant [ <persistent> int SWOOLE_ERROR_CO_PROTECT_STACK_FAILED ] { 10012 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_CO_STD_THREAD_LINK_ERROR ] { 10013 }
+ Constant [ <persistent> int SWOOLE_ERROR_CO_STD_THREAD_LINK_ERROR ] { 10013 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_CO_DISABLED_MULTI_THREAD ] { 10014 }
+ Constant [ <persistent> int SWOOLE_ERROR_CO_DISABLED_MULTI_THREAD ] { 10014 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_CO_CANNOT_CANCEL ] { 10015 }
+ Constant [ <persistent> int SWOOLE_ERROR_CO_CANNOT_CANCEL ] { 10015 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_CO_NOT_EXISTS ] { 10016 }
+ Constant [ <persistent> int SWOOLE_ERROR_CO_NOT_EXISTS ] { 10016 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_CO_CANCELED ] { 10017 }
+ Constant [ <persistent> int SWOOLE_ERROR_CO_CANCELED ] { 10017 }
+ Constant [ <persistent> int OPENSWOOLE_ERROR_CO_TIMEDOUT ] { 10018 }
+ Constant [ <persistent> int SWOOLE_ERROR_CO_TIMEDOUT ] { 10018 }
+ Constant [ <persistent> int OPENSWOOLE_TRACE_SERVER ] { 2 }
+ Constant [ <persistent> int SWOOLE_TRACE_SERVER ] { 2 }
+ Constant [ <persistent> int OPENSWOOLE_TRACE_CLIENT ] { 4 }
+ Constant [ <persistent> int SWOOLE_TRACE_CLIENT ] { 4 }
+ Constant [ <persistent> int OPENSWOOLE_TRACE_BUFFER ] { 8 }
+ Constant [ <persistent> int SWOOLE_TRACE_BUFFER ] { 8 }
+ Constant [ <persistent> int OPENSWOOLE_TRACE_CONN ] { 16 }
+ Constant [ <persistent> int SWOOLE_TRACE_CONN ] { 16 }
+ Constant [ <persistent> int OPENSWOOLE_TRACE_EVENT ] { 32 }
+ Constant [ <persistent> int SWOOLE_TRACE_EVENT ] { 32 }
+ Constant [ <persistent> int OPENSWOOLE_TRACE_WORKER ] { 64 }
+ Constant [ <persistent> int SWOOLE_TRACE_WORKER ] { 64 }
+ Constant [ <persistent> int OPENSWOOLE_TRACE_MEMORY ] { 128 }
+ Constant [ <persistent> int SWOOLE_TRACE_MEMORY ] { 128 }
+ Constant [ <persistent> int OPENSWOOLE_TRACE_REACTOR ] { 256 }
+ Constant [ <persistent> int SWOOLE_TRACE_REACTOR ] { 256 }
+ Constant [ <persistent> int OPENSWOOLE_TRACE_PHP ] { 512 }
+ Constant [ <persistent> int SWOOLE_TRACE_PHP ] { 512 }
+ Constant [ <persistent> int OPENSWOOLE_TRACE_HTTP ] { 1024 }
+ Constant [ <persistent> int SWOOLE_TRACE_HTTP ] { 1024 }
+ Constant [ <persistent> int OPENSWOOLE_TRACE_HTTP2 ] { 2048 }
+ Constant [ <persistent> int SWOOLE_TRACE_HTTP2 ] { 2048 }
+ Constant [ <persistent> int OPENSWOOLE_TRACE_EOF_PROTOCOL ] { 4096 }
+ Constant [ <persistent> int SWOOLE_TRACE_EOF_PROTOCOL ] { 4096 }
+ Constant [ <persistent> int OPENSWOOLE_TRACE_LENGTH_PROTOCOL ] { 8192 }
+ Constant [ <persistent> int SWOOLE_TRACE_LENGTH_PROTOCOL ] { 8192 }
+ Constant [ <persistent> int OPENSWOOLE_TRACE_CLOSE ] { 16384 }
+ Constant [ <persistent> int SWOOLE_TRACE_CLOSE ] { 16384 }
+ Constant [ <persistent> int OPENSWOOLE_TRACE_WEBSOCKET ] { 32768 }
+ Constant [ <persistent> int SWOOLE_TRACE_WEBSOCKET ] { 32768 }
+ Constant [ <persistent> int OPENSWOOLE_TRACE_REDIS_CLIENT ] { 65536 }
+ Constant [ <persistent> int SWOOLE_TRACE_REDIS_CLIENT ] { 65536 }
+ Constant [ <persistent> int OPENSWOOLE_TRACE_MYSQL_CLIENT ] { 131072 }
+ Constant [ <persistent> int SWOOLE_TRACE_MYSQL_CLIENT ] { 131072 }
+ Constant [ <persistent> int OPENSWOOLE_TRACE_HTTP_CLIENT ] { 262144 }
+ Constant [ <persistent> int SWOOLE_TRACE_HTTP_CLIENT ] { 262144 }
+ Constant [ <persistent> int OPENSWOOLE_TRACE_AIO ] { 524288 }
+ Constant [ <persistent> int SWOOLE_TRACE_AIO ] { 524288 }
+ Constant [ <persistent> int OPENSWOOLE_TRACE_SSL ] { 1048576 }
+ Constant [ <persistent> int SWOOLE_TRACE_SSL ] { 1048576 }
+ Constant [ <persistent> int OPENSWOOLE_TRACE_NORMAL ] { 2097152 }
+ Constant [ <persistent> int SWOOLE_TRACE_NORMAL ] { 2097152 }
+ Constant [ <persistent> int OPENSWOOLE_TRACE_CHANNEL ] { 4194304 }
+ Constant [ <persistent> int SWOOLE_TRACE_CHANNEL ] { 4194304 }
+ Constant [ <persistent> int OPENSWOOLE_TRACE_TIMER ] { 8388608 }
+ Constant [ <persistent> int SWOOLE_TRACE_TIMER ] { 8388608 }
+ Constant [ <persistent> int OPENSWOOLE_TRACE_SOCKET ] { 16777216 }
+ Constant [ <persistent> int SWOOLE_TRACE_SOCKET ] { 16777216 }
+ Constant [ <persistent> int OPENSWOOLE_TRACE_COROUTINE ] { 33554432 }
+ Constant [ <persistent> int SWOOLE_TRACE_COROUTINE ] { 33554432 }
+ Constant [ <persistent> int OPENSWOOLE_TRACE_CONTEXT ] { 67108864 }
+ Constant [ <persistent> int SWOOLE_TRACE_CONTEXT ] { 67108864 }
+ Constant [ <persistent> int OPENSWOOLE_TRACE_CO_HTTP_SERVER ] { 134217728 }
+ Constant [ <persistent> int SWOOLE_TRACE_CO_HTTP_SERVER ] { 134217728 }
+ Constant [ <persistent> int OPENSWOOLE_TRACE_TABLE ] { 268435456 }
+ Constant [ <persistent> int SWOOLE_TRACE_TABLE ] { 268435456 }
+ Constant [ <persistent> int OPENSWOOLE_TRACE_CO_CURL ] { 536870912 }
+ Constant [ <persistent> int SWOOLE_TRACE_CO_CURL ] { 536870912 }
+ Constant [ <persistent> int OPENSWOOLE_TRACE_CARES ] { 1073741824 }
+ Constant [ <persistent> int SWOOLE_TRACE_CARES ] { 1073741824 }
+ Constant [ <persistent> int OPENSWOOLE_TRACE_ALL ] { 9223372036854775807 }
+ Constant [ <persistent> int SWOOLE_TRACE_ALL ] { 9223372036854775807 }
+ Constant [ <persistent> int OPENSWOOLE_LOG_DEBUG ] { 0 }
+ Constant [ <persistent> int SWOOLE_LOG_DEBUG ] { 0 }
+ Constant [ <persistent> int OPENSWOOLE_LOG_TRACE ] { 1 }
+ Constant [ <persistent> int SWOOLE_LOG_TRACE ] { 1 }
+ Constant [ <persistent> int OPENSWOOLE_LOG_INFO ] { 2 }
+ Constant [ <persistent> int SWOOLE_LOG_INFO ] { 2 }
+ Constant [ <persistent> int OPENSWOOLE_LOG_NOTICE ] { 3 }
+ Constant [ <persistent> int SWOOLE_LOG_NOTICE ] { 3 }
+ Constant [ <persistent> int OPENSWOOLE_LOG_WARNING ] { 4 }
+ Constant [ <persistent> int SWOOLE_LOG_WARNING ] { 4 }
+ Constant [ <persistent> int OPENSWOOLE_LOG_ERROR ] { 5 }
+ Constant [ <persistent> int SWOOLE_LOG_ERROR ] { 5 }
+ Constant [ <persistent> int OPENSWOOLE_LOG_NONE ] { 6 }
+ Constant [ <persistent> int SWOOLE_LOG_NONE ] { 6 }
+ Constant [ <persistent> int OPENSWOOLE_LOG_ROTATION_SINGLE ] { 0 }
+ Constant [ <persistent> int SWOOLE_LOG_ROTATION_SINGLE ] { 0 }
+ Constant [ <persistent> int OPENSWOOLE_LOG_ROTATION_MONTHLY ] { 1 }
+ Constant [ <persistent> int SWOOLE_LOG_ROTATION_MONTHLY ] { 1 }
+ Constant [ <persistent> int OPENSWOOLE_LOG_ROTATION_DAILY ] { 2 }
+ Constant [ <persistent> int SWOOLE_LOG_ROTATION_DAILY ] { 2 }
+ Constant [ <persistent> int OPENSWOOLE_LOG_ROTATION_HOURLY ] { 3 }
+ Constant [ <persistent> int SWOOLE_LOG_ROTATION_HOURLY ] { 3 }
+ Constant [ <persistent> int OPENSWOOLE_LOG_ROTATION_EVERY_MINUTE ] { 4 }
+ Constant [ <persistent> int SWOOLE_LOG_ROTATION_EVERY_MINUTE ] { 4 }
+ Constant [ <persistent> int OPENSWOOLE_IPC_NONE ] { 0 }
+ Constant [ <persistent> int SWOOLE_IPC_NONE ] { 0 }
+ Constant [ <persistent> int OPENSWOOLE_IPC_UNIXSOCK ] { 1 }
+ Constant [ <persistent> int SWOOLE_IPC_UNIXSOCK ] { 1 }
+ Constant [ <persistent> int OPENSWOOLE_IPC_SOCKET ] { 3 }
+ Constant [ <persistent> int SWOOLE_IPC_SOCKET ] { 3 }
+ Constant [ <persistent> int OPENSWOOLE_STATS_DEFAULT ] { 0 }
+ Constant [ <persistent> int SWOOLE_STATS_DEFAULT ] { 0 }
+ Constant [ <persistent> int OPENSWOOLE_STATS_JSON ] { 1 }
+ Constant [ <persistent> int SWOOLE_STATS_JSON ] { 1 }
+ Constant [ <persistent> int OPENSWOOLE_STATS_OPENMETRICS ] { 2 }
+ Constant [ <persistent> int SWOOLE_STATS_OPENMETRICS ] { 2 }
+ Constant [ <persistent> int OPENSWOOLE_IOV_MAX ] { 1024 }
+ Constant [ <persistent> int SWOOLE_IOV_MAX ] { 1024 }
+ Constant [ <persistent> int OPENSWOOLE_FILELOCK ] { 2 }
+ Constant [ <persistent> int SWOOLE_FILELOCK ] { 2 }
+ Constant [ <persistent> int OPENSWOOLE_MUTEX ] { 3 }
+ Constant [ <persistent> int SWOOLE_MUTEX ] { 3 }
+ Constant [ <persistent> int OPENSWOOLE_SEM ] { 4 }
+ Constant [ <persistent> int SWOOLE_SEM ] { 4 }
+ Constant [ <persistent> int OPENSWOOLE_RWLOCK ] { 1 }
+ Constant [ <persistent> int SWOOLE_RWLOCK ] { 1 }
+ Constant [ <persistent> int OPENSWOOLE_SPINLOCK ] { 5 }
+ Constant [ <persistent> int SWOOLE_SPINLOCK ] { 5 }
+ Constant [ <persistent> int OPENSWOOLE_TIMER_MIN_MS ] { 1 }
+ Constant [ <persistent> int SWOOLE_TIMER_MIN_MS ] { 1 }
+ Constant [ <persistent> float OPENSWOOLE_TIMER_MIN_SEC ] { 0.001 }
+ Constant [ <persistent> float SWOOLE_TIMER_MIN_SEC ] { 0.001 }
+ Constant [ <persistent> int OPENSWOOLE_TIMER_MAX_MS ] { 9223372036854775807 }
+ Constant [ <persistent> int SWOOLE_TIMER_MAX_MS ] { 9223372036854775807 }
+ Constant [ <persistent> float OPENSWOOLE_TIMER_MAX_SEC ] { 9.2233720368548E+15 }
+ Constant [ <persistent> float SWOOLE_TIMER_MAX_SEC ] { 9.2233720368548E+15 }
+ Constant [ <persistent> int OPENSWOOLE_DEFAULT_MAX_CORO_NUM ] { 100000 }
+ Constant [ <persistent> int SWOOLE_DEFAULT_MAX_CORO_NUM ] { 100000 }
+ Constant [ <persistent> int OPENSWOOLE_CORO_MAX_NUM_LIMIT ] { 9223372036854775807 }
+ Constant [ <persistent> int SWOOLE_CORO_MAX_NUM_LIMIT ] { 9223372036854775807 }
+ Constant [ <persistent> int OPENSWOOLE_CORO_INIT ] { 0 }
+ Constant [ <persistent> int SWOOLE_CORO_INIT ] { 0 }
+ Constant [ <persistent> int OPENSWOOLE_CORO_WAITING ] { 1 }
+ Constant [ <persistent> int SWOOLE_CORO_WAITING ] { 1 }
+ Constant [ <persistent> int OPENSWOOLE_CORO_RUNNING ] { 2 }
+ Constant [ <persistent> int SWOOLE_CORO_RUNNING ] { 2 }
+ Constant [ <persistent> int OPENSWOOLE_CORO_END ] { 3 }
+ Constant [ <persistent> int SWOOLE_CORO_END ] { 3 }
+ Constant [ <persistent> int OPENSWOOLE_CHANNEL_OK ] { 0 }
+ Constant [ <persistent> int SWOOLE_CHANNEL_OK ] { 0 }
+ Constant [ <persistent> int OPENSWOOLE_CHANNEL_TIMEOUT ] { -1 }
+ Constant [ <persistent> int SWOOLE_CHANNEL_TIMEOUT ] { -1 }
+ Constant [ <persistent> int OPENSWOOLE_CHANNEL_CLOSED ] { -2 }
+ Constant [ <persistent> int SWOOLE_CHANNEL_CLOSED ] { -2 }
+ Constant [ <persistent> int OPENSWOOLE_CHANNEL_CANCELED ] { -3 }
+ Constant [ <persistent> int SWOOLE_CHANNEL_CANCELED ] { -3 }
+ Constant [ <persistent> int OPENSWOOLE_HOOK_TCP ] { 2 }
+ Constant [ <persistent> int SWOOLE_HOOK_TCP ] { 2 }
+ Constant [ <persistent> int OPENSWOOLE_HOOK_UDP ] { 4 }
+ Constant [ <persistent> int SWOOLE_HOOK_UDP ] { 4 }
+ Constant [ <persistent> int OPENSWOOLE_HOOK_UNIX ] { 8 }
+ Constant [ <persistent> int SWOOLE_HOOK_UNIX ] { 8 }
+ Constant [ <persistent> int OPENSWOOLE_HOOK_UDG ] { 16 }
+ Constant [ <persistent> int SWOOLE_HOOK_UDG ] { 16 }
+ Constant [ <persistent> int OPENSWOOLE_HOOK_SSL ] { 32 }
+ Constant [ <persistent> int SWOOLE_HOOK_SSL ] { 32 }
+ Constant [ <persistent> int OPENSWOOLE_HOOK_TLS ] { 64 }
+ Constant [ <persistent> int SWOOLE_HOOK_TLS ] { 64 }
+ Constant [ <persistent> int OPENSWOOLE_HOOK_STREAM_FUNCTION ] { 128 }
+ Constant [ <persistent> int SWOOLE_HOOK_STREAM_FUNCTION ] { 128 }
+ Constant [ <persistent> int OPENSWOOLE_HOOK_STREAM_SELECT ] { 128 }
+ Constant [ <persistent> int SWOOLE_HOOK_STREAM_SELECT ] { 128 }
+ Constant [ <persistent> int OPENSWOOLE_HOOK_FILE ] { 256 }
+ Constant [ <persistent> int SWOOLE_HOOK_FILE ] { 256 }
+ Constant [ <persistent> int OPENSWOOLE_HOOK_STDIO ] { 32768 }
+ Constant [ <persistent> int SWOOLE_HOOK_STDIO ] { 32768 }
+ Constant [ <persistent> int OPENSWOOLE_HOOK_SLEEP ] { 512 }
+ Constant [ <persistent> int SWOOLE_HOOK_SLEEP ] { 512 }
+ Constant [ <persistent> int OPENSWOOLE_HOOK_PROC ] { 1024 }
+ Constant [ <persistent> int SWOOLE_HOOK_PROC ] { 1024 }
+ Constant [ <persistent> int OPENSWOOLE_HOOK_CURL ] { 2048 }
+ Constant [ <persistent> int SWOOLE_HOOK_CURL ] { 2048 }
+ Constant [ <persistent> int OPENSWOOLE_HOOK_NATIVE_CURL ] { 4096 }
+ Constant [ <persistent> int SWOOLE_HOOK_NATIVE_CURL ] { 4096 }
+ Constant [ <persistent> int OPENSWOOLE_HOOK_BLOCKING_FUNCTION ] { 8192 }
+ Constant [ <persistent> int SWOOLE_HOOK_BLOCKING_FUNCTION ] { 8192 }
+ Constant [ <persistent> int OPENSWOOLE_HOOK_SOCKETS ] { 16384 }
+ Constant [ <persistent> int SWOOLE_HOOK_SOCKETS ] { 16384 }
+ Constant [ <persistent> int OPENSWOOLE_HOOK_ALL ] { 2147457023 }
+ Constant [ <persistent> int SWOOLE_HOOK_ALL ] { 2147457023 }
+ Constant [ <persistent> int SOCKET_ECANCELED ] { 125 }
+ Constant [ <persistent> int OPENSWOOLE_HTTP_CLIENT_ESTATUS_CONNECT_FAILED ] { -1 }
+ Constant [ <persistent> int SWOOLE_HTTP_CLIENT_ESTATUS_CONNECT_FAILED ] { -1 }
+ Constant [ <persistent> int OPENSWOOLE_HTTP_CLIENT_ESTATUS_REQUEST_TIMEOUT ] { -2 }
+ Constant [ <persistent> int SWOOLE_HTTP_CLIENT_ESTATUS_REQUEST_TIMEOUT ] { -2 }
+ Constant [ <persistent> int OPENSWOOLE_HTTP_CLIENT_ESTATUS_SERVER_RESET ] { -3 }
+ Constant [ <persistent> int SWOOLE_HTTP_CLIENT_ESTATUS_SERVER_RESET ] { -3 }
+ Constant [ <persistent> int OPENSWOOLE_HTTP_CLIENT_ESTATUS_SEND_FAILED ] { -4 }
+ Constant [ <persistent> int SWOOLE_HTTP_CLIENT_ESTATUS_SEND_FAILED ] { -4 }
+ Constant [ <persistent> int OPENSWOOLE_HTTP2_TYPE_DATA ] { 0 }
+ Constant [ <persistent> int SWOOLE_HTTP2_TYPE_DATA ] { 0 }
+ Constant [ <persistent> int OPENSWOOLE_HTTP2_TYPE_HEADERS ] { 1 }
+ Constant [ <persistent> int SWOOLE_HTTP2_TYPE_HEADERS ] { 1 }
+ Constant [ <persistent> int OPENSWOOLE_HTTP2_TYPE_PRIORITY ] { 2 }
+ Constant [ <persistent> int SWOOLE_HTTP2_TYPE_PRIORITY ] { 2 }
+ Constant [ <persistent> int OPENSWOOLE_HTTP2_TYPE_RST_STREAM ] { 3 }
+ Constant [ <persistent> int SWOOLE_HTTP2_TYPE_RST_STREAM ] { 3 }
+ Constant [ <persistent> int OPENSWOOLE_HTTP2_TYPE_SETTINGS ] { 4 }
+ Constant [ <persistent> int SWOOLE_HTTP2_TYPE_SETTINGS ] { 4 }
+ Constant [ <persistent> int OPENSWOOLE_HTTP2_TYPE_PUSH_PROMISE ] { 5 }
+ Constant [ <persistent> int SWOOLE_HTTP2_TYPE_PUSH_PROMISE ] { 5 }
+ Constant [ <persistent> int OPENSWOOLE_HTTP2_TYPE_PING ] { 6 }
+ Constant [ <persistent> int SWOOLE_HTTP2_TYPE_PING ] { 6 }
+ Constant [ <persistent> int OPENSWOOLE_HTTP2_TYPE_GOAWAY ] { 7 }
+ Constant [ <persistent> int SWOOLE_HTTP2_TYPE_GOAWAY ] { 7 }
+ Constant [ <persistent> int OPENSWOOLE_HTTP2_TYPE_WINDOW_UPDATE ] { 8 }
+ Constant [ <persistent> int SWOOLE_HTTP2_TYPE_WINDOW_UPDATE ] { 8 }
+ Constant [ <persistent> int OPENSWOOLE_HTTP2_TYPE_CONTINUATION ] { 9 }
+ Constant [ <persistent> int SWOOLE_HTTP2_TYPE_CONTINUATION ] { 9 }
+ Constant [ <persistent> int OPENSWOOLE_HTTP2_ERROR_NO_ERROR ] { 0 }
+ Constant [ <persistent> int SWOOLE_HTTP2_ERROR_NO_ERROR ] { 0 }
+ Constant [ <persistent> int OPENSWOOLE_HTTP2_ERROR_PROTOCOL_ERROR ] { 1 }
+ Constant [ <persistent> int SWOOLE_HTTP2_ERROR_PROTOCOL_ERROR ] { 1 }
+ Constant [ <persistent> int OPENSWOOLE_HTTP2_ERROR_INTERNAL_ERROR ] { 2 }
+ Constant [ <persistent> int SWOOLE_HTTP2_ERROR_INTERNAL_ERROR ] { 2 }
+ Constant [ <persistent> int OPENSWOOLE_HTTP2_ERROR_FLOW_CONTROL_ERROR ] { 3 }
+ Constant [ <persistent> int SWOOLE_HTTP2_ERROR_FLOW_CONTROL_ERROR ] { 3 }
+ Constant [ <persistent> int OPENSWOOLE_HTTP2_ERROR_SETTINGS_TIMEOUT ] { 4 }
+ Constant [ <persistent> int SWOOLE_HTTP2_ERROR_SETTINGS_TIMEOUT ] { 4 }
+ Constant [ <persistent> int OPENSWOOLE_HTTP2_ERROR_STREAM_CLOSED ] { 5 }
+ Constant [ <persistent> int SWOOLE_HTTP2_ERROR_STREAM_CLOSED ] { 5 }
+ Constant [ <persistent> int OPENSWOOLE_HTTP2_ERROR_FRAME_SIZE_ERROR ] { 6 }
+ Constant [ <persistent> int SWOOLE_HTTP2_ERROR_FRAME_SIZE_ERROR ] { 6 }
+ Constant [ <persistent> int OPENSWOOLE_HTTP2_ERROR_REFUSED_STREAM ] { 7 }
+ Constant [ <persistent> int SWOOLE_HTTP2_ERROR_REFUSED_STREAM ] { 7 }
+ Constant [ <persistent> int OPENSWOOLE_HTTP2_ERROR_CANCEL ] { 8 }
+ Constant [ <persistent> int SWOOLE_HTTP2_ERROR_CANCEL ] { 8 }
+ Constant [ <persistent> int OPENSWOOLE_HTTP2_ERROR_COMPRESSION_ERROR ] { 9 }
+ Constant [ <persistent> int SWOOLE_HTTP2_ERROR_COMPRESSION_ERROR ] { 9 }
+ Constant [ <persistent> int OPENSWOOLE_HTTP2_ERROR_CONNECT_ERROR ] { 10 }
+ Constant [ <persistent> int SWOOLE_HTTP2_ERROR_CONNECT_ERROR ] { 10 }
+ Constant [ <persistent> int OPENSWOOLE_HTTP2_ERROR_ENHANCE_YOUR_CALM ] { 11 }
+ Constant [ <persistent> int SWOOLE_HTTP2_ERROR_ENHANCE_YOUR_CALM ] { 11 }
+ Constant [ <persistent> int OPENSWOOLE_HTTP2_ERROR_INADEQUATE_SECURITY ] { 12 }
+ Constant [ <persistent> int SWOOLE_HTTP2_ERROR_INADEQUATE_SECURITY ] { 12 }
+ Constant [ <persistent> int OPENSWOOLE_BASE ] { 1 }
+ Constant [ <persistent> int SWOOLE_BASE ] { 1 }
+ Constant [ <persistent> int OPENSWOOLE_PROCESS ] { 2 }
+ Constant [ <persistent> int SWOOLE_PROCESS ] { 2 }
+ Constant [ <persistent> int OPENSWOOLE_IPC_UNSOCK ] { 1 }
+ Constant [ <persistent> int SWOOLE_IPC_UNSOCK ] { 1 }
+ Constant [ <persistent> int OPENSWOOLE_IPC_MSGQUEUE ] { 2 }
+ Constant [ <persistent> int SWOOLE_IPC_MSGQUEUE ] { 2 }
+ Constant [ <persistent> int OPENSWOOLE_IPC_PREEMPTIVE ] { 3 }
+ Constant [ <persistent> int SWOOLE_IPC_PREEMPTIVE ] { 3 }
+ Constant [ <persistent> int OPENSWOOLE_DISPATCH_RESULT_DISCARD_PACKET ] { -1 }
+ Constant [ <persistent> int SWOOLE_DISPATCH_RESULT_DISCARD_PACKET ] { -1 }
+ Constant [ <persistent> int OPENSWOOLE_DISPATCH_RESULT_CLOSE_CONNECTION ] { -2 }
+ Constant [ <persistent> int SWOOLE_DISPATCH_RESULT_CLOSE_CONNECTION ] { -2 }
+ Constant [ <persistent> int OPENSWOOLE_DISPATCH_RESULT_USERFUNC_FALLBACK ] { -3 }
+ Constant [ <persistent> int SWOOLE_DISPATCH_RESULT_USERFUNC_FALLBACK ] { -3 }
+ Constant [ <persistent> int OPENSWOOLE_TASK_TMPFILE ] { 1 }
+ Constant [ <persistent> int SWOOLE_TASK_TMPFILE ] { 1 }
+ Constant [ <persistent> int OPENSWOOLE_TASK_SERIALIZE ] { 2 }
+ Constant [ <persistent> int SWOOLE_TASK_SERIALIZE ] { 2 }
+ Constant [ <persistent> int OPENSWOOLE_TASK_NONBLOCK ] { 4 }
+ Constant [ <persistent> int SWOOLE_TASK_NONBLOCK ] { 4 }
+ Constant [ <persistent> int OPENSWOOLE_TASK_CALLBACK ] { 8 }
+ Constant [ <persistent> int SWOOLE_TASK_CALLBACK ] { 8 }
+ Constant [ <persistent> int OPENSWOOLE_TASK_WAITALL ] { 16 }
+ Constant [ <persistent> int SWOOLE_TASK_WAITALL ] { 16 }
+ Constant [ <persistent> int OPENSWOOLE_TASK_COROUTINE ] { 32 }
+ Constant [ <persistent> int SWOOLE_TASK_COROUTINE ] { 32 }
+ Constant [ <persistent> int OPENSWOOLE_TASK_PEEK ] { 64 }
+ Constant [ <persistent> int SWOOLE_TASK_PEEK ] { 64 }
+ Constant [ <persistent> int OPENSWOOLE_TASK_NOREPLY ] { 128 }
+ Constant [ <persistent> int SWOOLE_TASK_NOREPLY ] { 128 }
+ Constant [ <persistent> int OPENSWOOLE_WORKER_BUSY ] { 1 }
+ Constant [ <persistent> int SWOOLE_WORKER_BUSY ] { 1 }
+ Constant [ <persistent> int OPENSWOOLE_WORKER_IDLE ] { 2 }
+ Constant [ <persistent> int SWOOLE_WORKER_IDLE ] { 2 }
+ Constant [ <persistent> int OPENSWOOLE_WORKER_EXIT ] { 3 }
+ Constant [ <persistent> int SWOOLE_WORKER_EXIT ] { 3 }
+ Constant [ <persistent> int OPENSWOOLE_WEBSOCKET_STATUS_CONNECTION ] { 1 }
+ Constant [ <persistent> int SWOOLE_WEBSOCKET_STATUS_CONNECTION ] { 1 }
+ Constant [ <persistent> int OPENSWOOLE_WEBSOCKET_STATUS_HANDSHAKE ] { 2 }
+ Constant [ <persistent> int SWOOLE_WEBSOCKET_STATUS_HANDSHAKE ] { 2 }
+ Constant [ <persistent> int OPENSWOOLE_WEBSOCKET_STATUS_ACTIVE ] { 3 }
+ Constant [ <persistent> int SWOOLE_WEBSOCKET_STATUS_ACTIVE ] { 3 }
+ Constant [ <persistent> int OPENSWOOLE_WEBSOCKET_STATUS_CLOSING ] { 4 }
+ Constant [ <persistent> int SWOOLE_WEBSOCKET_STATUS_CLOSING ] { 4 }
+ Constant [ <persistent> int OPENSWOOLE_WEBSOCKET_OPCODE_CONTINUATION ] { 0 }
+ Constant [ <persistent> int SWOOLE_WEBSOCKET_OPCODE_CONTINUATION ] { 0 }
+ Constant [ <persistent> int OPENSWOOLE_WEBSOCKET_OPCODE_TEXT ] { 1 }
+ Constant [ <persistent> int SWOOLE_WEBSOCKET_OPCODE_TEXT ] { 1 }
+ Constant [ <persistent> int OPENSWOOLE_WEBSOCKET_OPCODE_BINARY ] { 2 }
+ Constant [ <persistent> int SWOOLE_WEBSOCKET_OPCODE_BINARY ] { 2 }
+ Constant [ <persistent> int OPENSWOOLE_WEBSOCKET_OPCODE_CLOSE ] { 8 }
+ Constant [ <persistent> int SWOOLE_WEBSOCKET_OPCODE_CLOSE ] { 8 }
+ Constant [ <persistent> int OPENSWOOLE_WEBSOCKET_OPCODE_PING ] { 9 }
+ Constant [ <persistent> int SWOOLE_WEBSOCKET_OPCODE_PING ] { 9 }
+ Constant [ <persistent> int OPENSWOOLE_WEBSOCKET_OPCODE_PONG ] { 10 }
+ Constant [ <persistent> int SWOOLE_WEBSOCKET_OPCODE_PONG ] { 10 }
+ Constant [ <persistent> int OPENSWOOLE_WEBSOCKET_FLAG_FIN ] { 1 }
+ Constant [ <persistent> int SWOOLE_WEBSOCKET_FLAG_FIN ] { 1 }
+ Constant [ <persistent> int OPENSWOOLE_WEBSOCKET_FLAG_RSV1 ] { 4 }
+ Constant [ <persistent> int SWOOLE_WEBSOCKET_FLAG_RSV1 ] { 4 }
+ Constant [ <persistent> int OPENSWOOLE_WEBSOCKET_FLAG_RSV2 ] { 8 }
+ Constant [ <persistent> int SWOOLE_WEBSOCKET_FLAG_RSV2 ] { 8 }
+ Constant [ <persistent> int OPENSWOOLE_WEBSOCKET_FLAG_RSV3 ] { 16 }
+ Constant [ <persistent> int SWOOLE_WEBSOCKET_FLAG_RSV3 ] { 16 }
+ Constant [ <persistent> int OPENSWOOLE_WEBSOCKET_FLAG_MASK ] { 32 }
+ Constant [ <persistent> int SWOOLE_WEBSOCKET_FLAG_MASK ] { 32 }
+ Constant [ <persistent> int OPENSWOOLE_WEBSOCKET_FLAG_COMPRESS ] { 2 }
+ Constant [ <persistent> int SWOOLE_WEBSOCKET_FLAG_COMPRESS ] { 2 }
+ Constant [ <persistent> int OPENSWOOLE_WEBSOCKET_CLOSE_NORMAL ] { 1000 }
+ Constant [ <persistent> int SWOOLE_WEBSOCKET_CLOSE_NORMAL ] { 1000 }
+ Constant [ <persistent> int OPENSWOOLE_WEBSOCKET_CLOSE_GOING_AWAY ] { 1001 }
+ Constant [ <persistent> int SWOOLE_WEBSOCKET_CLOSE_GOING_AWAY ] { 1001 }
+ Constant [ <persistent> int OPENSWOOLE_WEBSOCKET_CLOSE_PROTOCOL_ERROR ] { 1002 }
+ Constant [ <persistent> int SWOOLE_WEBSOCKET_CLOSE_PROTOCOL_ERROR ] { 1002 }
+ Constant [ <persistent> int OPENSWOOLE_WEBSOCKET_CLOSE_DATA_ERROR ] { 1003 }
+ Constant [ <persistent> int SWOOLE_WEBSOCKET_CLOSE_DATA_ERROR ] { 1003 }
+ Constant [ <persistent> int OPENSWOOLE_WEBSOCKET_CLOSE_STATUS_ERROR ] { 1005 }
+ Constant [ <persistent> int SWOOLE_WEBSOCKET_CLOSE_STATUS_ERROR ] { 1005 }
+ Constant [ <persistent> int OPENSWOOLE_WEBSOCKET_CLOSE_ABNORMAL ] { 1006 }
+ Constant [ <persistent> int SWOOLE_WEBSOCKET_CLOSE_ABNORMAL ] { 1006 }
+ Constant [ <persistent> int OPENSWOOLE_WEBSOCKET_CLOSE_MESSAGE_ERROR ] { 1007 }
+ Constant [ <persistent> int SWOOLE_WEBSOCKET_CLOSE_MESSAGE_ERROR ] { 1007 }
+ Constant [ <persistent> int OPENSWOOLE_WEBSOCKET_CLOSE_POLICY_ERROR ] { 1008 }
+ Constant [ <persistent> int SWOOLE_WEBSOCKET_CLOSE_POLICY_ERROR ] { 1008 }
+ Constant [ <persistent> int OPENSWOOLE_WEBSOCKET_CLOSE_MESSAGE_TOO_BIG ] { 1009 }
+ Constant [ <persistent> int SWOOLE_WEBSOCKET_CLOSE_MESSAGE_TOO_BIG ] { 1009 }
+ Constant [ <persistent> int OPENSWOOLE_WEBSOCKET_CLOSE_EXTENSION_MISSING ] { 1010 }
+ Constant [ <persistent> int SWOOLE_WEBSOCKET_CLOSE_EXTENSION_MISSING ] { 1010 }
+ Constant [ <persistent> int OPENSWOOLE_WEBSOCKET_CLOSE_SERVER_ERROR ] { 1011 }
+ Constant [ <persistent> int SWOOLE_WEBSOCKET_CLOSE_SERVER_ERROR ] { 1011 }
+ Constant [ <persistent> int OPENSWOOLE_WEBSOCKET_CLOSE_TLS ] { 1015 }
+ Constant [ <persistent> int SWOOLE_WEBSOCKET_CLOSE_TLS ] { 1015 }
+ Constant [ <persistent> int WEBSOCKET_STATUS_CONNECTION ] { 1 }
+ Constant [ <persistent> int WEBSOCKET_STATUS_HANDSHAKE ] { 2 }
+ Constant [ <persistent> int WEBSOCKET_STATUS_FRAME ] { 3 }
+ Constant [ <persistent> int WEBSOCKET_STATUS_ACTIVE ] { 3 }
+ Constant [ <persistent> int WEBSOCKET_STATUS_CLOSING ] { 4 }
+ Constant [ <persistent> int WEBSOCKET_OPCODE_CONTINUATION ] { 0 }
+ Constant [ <persistent> int WEBSOCKET_OPCODE_TEXT ] { 1 }
+ Constant [ <persistent> int WEBSOCKET_OPCODE_BINARY ] { 2 }
+ Constant [ <persistent> int WEBSOCKET_OPCODE_CLOSE ] { 8 }
+ Constant [ <persistent> int WEBSOCKET_OPCODE_PING ] { 9 }
+ Constant [ <persistent> int WEBSOCKET_OPCODE_PONG ] { 10 }
+ Constant [ <persistent> int WEBSOCKET_CLOSE_NORMAL ] { 1000 }
+ Constant [ <persistent> int WEBSOCKET_CLOSE_GOING_AWAY ] { 1001 }
+ Constant [ <persistent> int WEBSOCKET_CLOSE_PROTOCOL_ERROR ] { 1002 }
+ Constant [ <persistent> int WEBSOCKET_CLOSE_DATA_ERROR ] { 1003 }
+ Constant [ <persistent> int WEBSOCKET_CLOSE_STATUS_ERROR ] { 1005 }
+ Constant [ <persistent> int WEBSOCKET_CLOSE_ABNORMAL ] { 1006 }
+ Constant [ <persistent> int WEBSOCKET_CLOSE_MESSAGE_ERROR ] { 1007 }
+ Constant [ <persistent> int WEBSOCKET_CLOSE_POLICY_ERROR ] { 1008 }
+ Constant [ <persistent> int WEBSOCKET_CLOSE_MESSAGE_TOO_BIG ] { 1009 }
+ Constant [ <persistent> int WEBSOCKET_CLOSE_EXTENSION_MISSING ] { 1010 }
+ Constant [ <persistent> int WEBSOCKET_CLOSE_SERVER_ERROR ] { 1011 }
+ Constant [ <persistent> int WEBSOCKET_CLOSE_TLS ] { 1015 }
+ Constant [ <persistent> int OPENSWOOLE_PGSQL_ASSOC ] { 1 }
+ Constant [ <persistent> int SWOOLE_PGSQL_ASSOC ] { 1 }
+ Constant [ <persistent> int OPENSWOOLE_PGSQL_NUM ] { 2 }
+ Constant [ <persistent> int SWOOLE_PGSQL_NUM ] { 2 }
+ Constant [ <persistent> int OPENSWOOLE_PGSQL_BOTH ] { 3 }
+ Constant [ <persistent> int SWOOLE_PGSQL_BOTH ] { 3 }
+ Constant [ <persistent> int OPENSWOOLE_PGRES_EMPTY_QUERY ] { 0 }
+ Constant [ <persistent> int SWOOLE_PGRES_EMPTY_QUERY ] { 0 }
+ Constant [ <persistent> int OPENSWOOLE_PGRES_COMMAND_OK ] { 1 }
+ Constant [ <persistent> int SWOOLE_PGRES_COMMAND_OK ] { 1 }
+ Constant [ <persistent> int OPENSWOOLE_PGRES_TUPLES_OK ] { 2 }
+ Constant [ <persistent> int SWOOLE_PGRES_TUPLES_OK ] { 2 }
+ Constant [ <persistent> int OPENSWOOLE_PGRES_BAD_RESPONSE ] { 5 }
+ Constant [ <persistent> int SWOOLE_PGRES_BAD_RESPONSE ] { 5 }
+ Constant [ <persistent> int OPENSWOOLE_PGRES_NONFATAL_ERROR ] { 6 }
+ Constant [ <persistent> int SWOOLE_PGRES_NONFATAL_ERROR ] { 6 }
+ Constant [ <persistent> int OPENSWOOLE_PGRES_FATAL_ERROR ] { 7 }
+ Constant [ <persistent> int SWOOLE_PGRES_FATAL_ERROR ] { 7 }
+ Constant [ <persistent> int OPENSWOOLE_PG_CONNECTION_OK ] { 0 }
+ Constant [ <persistent> int SWOOLE_PG_CONNECTION_OK ] { 0 }
+ Constant [ <persistent> int OPENSWOOLE_PG_CONNECTION_BAD ] { 1 }
+ Constant [ <persistent> int SWOOLE_PG_CONNECTION_BAD ] { 1 }
+ Constant [ <persistent> int OPENSWOOLE_PG_CONNECTION_STARTED ] { 2 }
+ Constant [ <persistent> int SWOOLE_PG_CONNECTION_STARTED ] { 2 }
+ Constant [ <persistent> int OPENSWOOLE_PG_CONNECTION_AWAITING_RESPONSE ] { 4 }
+ Constant [ <persistent> int SWOOLE_PG_CONNECTION_AWAITING_RESPONSE ] { 4 }
+ Constant [ <persistent> int OPENSWOOLE_PG_CONNECTION_AUTH_OK ] { 5 }
+ Constant [ <persistent> int SWOOLE_PG_CONNECTION_AUTH_OK ] { 5 }
+ Constant [ <persistent> int OPENSWOOLE_PG_CONNECTION_SETENV ] { 6 }
+ Constant [ <persistent> int SWOOLE_PG_CONNECTION_SETENV ] { 6 }
+ Constant [ <persistent> int OPENSWOOLE_PG_CONNECTION_SSL_STARTUP ] { 7 }
+ Constant [ <persistent> int SWOOLE_PG_CONNECTION_SSL_STARTUP ] { 7 }
+ Constant [ <persistent> int OPENSWOOLE_PG_CONNECTION_NEEDED ] { 8 }
+ Constant [ <persistent> int SWOOLE_PG_CONNECTION_NEEDED ] { 8 }
}
- Functions {
- Function [ <internal:openswoole> function swoole_coroutine_create ] {
+ Function [ <internal:openswoole> function openswoole_coroutine_create ] {
- Parameters [2] {
Parameter #0 [ <required> callable $func ]
Parameter #1 [ <optional> ...$params ]
}
}
- Function [ <internal:openswoole> function swoole_coroutine_defer ] {
+ Function [ <internal:openswoole> function openswoole_coroutine_defer ] {
- Parameters [1] {
Parameter #0 [ <required> callable $callback ]
}
}
- Function [ <internal:openswoole> function swoole_coroutine_socketpair ] {
+ Function [ <internal:openswoole> function openswoole_coroutine_socketpair ] {
- Parameters [3] {
Parameter #0 [ <required> $domain ]
@@ -404,31 +750,73 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
Parameter #2 [ <required> $protocol ]
}
}
- Function [ <internal:openswoole> function swoole_test_kernel_coroutine ] {
+ Function [ <internal:openswoole> function openswoole_test_kernel_coroutine ] {
- Parameters [2] {
Parameter #0 [ <optional> $count = <default> ]
Parameter #1 [ <optional> $sleep_time = <default> ]
}
}
- Function [ <internal:openswoole> function swoole_internal_call_user_shutdown_begin ] {
+ Function [ <internal:openswoole> function openswoole_internal_call_user_shutdown_begin ] {
- Parameters [0] {
}
}
- Function [ <internal:openswoole> function go ] {
+ Function [ <internal:openswoole> function openswoole_timer_after ] {
- - Parameters [1] {
- Parameter #0 [ <required> callable $func ]
+ - Parameters [3] {
+ Parameter #0 [ <required> int $ms ]
+ Parameter #1 [ <required> callable $callback ]
+ Parameter #2 [ <optional> mixed ...$params ]
}
+ - Return [ int|bool ]
}
- Function [ <internal:openswoole> function defer ] {
+ Function [ <internal:openswoole> function openswoole_timer_tick ] {
- - Parameters [1] {
- Parameter #0 [ <required> callable $callback ]
+ - Parameters [3] {
+ Parameter #0 [ <required> int $ms ]
+ Parameter #1 [ <required> callable $callback ]
+ Parameter #2 [ <optional> mixed ...$params ]
+ }
+ - Return [ int|bool ]
+ }
+ Function [ <internal:openswoole> function openswoole_timer_exists ] {
+
+ - Parameters [0] {
}
+ - Return [ bool ]
+ }
+ Function [ <internal:openswoole> function openswoole_timer_info ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array|bool ]
+ }
+ Function [ <internal:openswoole> function openswoole_timer_stats ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+ Function [ <internal:openswoole> function openswoole_timer_list ] {
+
+ - Parameters [0] {
+ }
+ - Return [ OpenSwoole\Timer\Iterator ]
+ }
+ Function [ <internal:openswoole> function openswoole_timer_clear ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+ Function [ <internal:openswoole> function openswoole_timer_clear_all ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
}
- Method [ <internal:openswoole> public method swoole_event_add ] {
+ Function [ <internal:openswoole> function openswoole_event_add ] {
- Parameters [4] {
Parameter #0 [ <required> mixed $sock ]
@@ -438,14 +826,14 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
}
- Return [ int|bool ]
}
- Method [ <internal:openswoole> public method swoole_event_del ] {
+ Function [ <internal:openswoole> function openswoole_event_del ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $sock ]
}
- Return [ bool ]
}
- Method [ <internal:openswoole> public method swoole_event_set ] {
+ Function [ <internal:openswoole> function openswoole_event_set ] {
- Parameters [4] {
Parameter #0 [ <required> mixed $sock ]
@@ -455,7 +843,7 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
}
- Return [ bool ]
}
- Method [ <internal:openswoole> public method swoole_event_isset ] {
+ Function [ <internal:openswoole> function openswoole_event_isset ] {
- Parameters [2] {
Parameter #0 [ <required> mixed $sock ]
@@ -463,20 +851,20 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
}
- Return [ bool ]
}
- Method [ <internal:openswoole> public method swoole_event_dispatch ] {
+ Function [ <internal:openswoole> function openswoole_event_dispatch ] {
- Parameters [0] {
}
- Return [ bool ]
}
- Method [ <internal:openswoole> public method swoole_event_defer ] {
+ Function [ <internal:openswoole> function openswoole_event_defer ] {
- Parameters [1] {
Parameter #0 [ <required> callable $callback ]
}
- Return [ bool ]
}
- Method [ <internal:openswoole> public method swoole_event_cycle ] {
+ Function [ <internal:openswoole> function openswoole_event_cycle ] {
- Parameters [2] {
Parameter #0 [ <required> callable $callback ]
@@ -484,7 +872,7 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
}
- Return [ bool ]
}
- Method [ <internal:openswoole> public method swoole_event_write ] {
+ Function [ <internal:openswoole> function openswoole_event_write ] {
- Parameters [2] {
Parameter #0 [ <required> mixed $sock ]
@@ -492,106 +880,210 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
}
- Return [ bool ]
}
- Method [ <internal:openswoole> public method swoole_event_wait ] {
+ Function [ <internal:openswoole> function openswoole_event_wait ] {
- Parameters [0] {
}
- Return [ void ]
}
- Method [ <internal:openswoole> public method swoole_event_exit ] {
+ Function [ <internal:openswoole> function openswoole_event_exit ] {
- Parameters [0] {
}
- Return [ void ]
}
- Method [ <internal:openswoole> public method swoole_timer_after ] {
+ Function [ <internal:openswoole> function go ] {
- Parameters [2] {
+ Parameter #0 [ <required> callable $func ]
+ Parameter #1 [ <optional> ...$params ]
+ }
+ }
+ Function [ <internal:openswoole> function defer ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> callable $callback ]
+ }
+ }
+ Function [ <internal:openswoole> function swoole_coroutine_create ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> callable $func ]
+ Parameter #1 [ <optional> ...$params ]
+ }
+ }
+ Function [ <internal:openswoole> function swoole_coroutine_defer ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> callable $callback ]
+ }
+ }
+ Function [ <internal:openswoole> function swoole_timer_after ] {
+
+ - Parameters [3] {
Parameter #0 [ <required> int $ms ]
Parameter #1 [ <required> callable $callback ]
+ Parameter #2 [ <optional> mixed ...$params ]
}
- Return [ int|bool ]
}
- Method [ <internal:openswoole> public method swoole_timer_tick ] {
+ Function [ <internal:openswoole> function swoole_timer_tick ] {
- - Parameters [2] {
+ - Parameters [3] {
Parameter #0 [ <required> int $ms ]
Parameter #1 [ <required> callable $callback ]
+ Parameter #2 [ <optional> mixed ...$params ]
}
- Return [ int|bool ]
}
- Method [ <internal:openswoole> public method swoole_timer_exists ] {
+ Function [ <internal:openswoole> function swoole_timer_exists ] {
- Parameters [0] {
}
- Return [ bool ]
}
- Method [ <internal:openswoole> public method swoole_timer_info ] {
+ Function [ <internal:openswoole> function swoole_timer_info ] {
- Parameters [0] {
}
- Return [ array|bool ]
}
- Method [ <internal:openswoole> public method swoole_timer_stats ] {
+ Function [ <internal:openswoole> function swoole_timer_stats ] {
- Parameters [0] {
}
- Return [ array ]
}
- Method [ <internal:openswoole> public method swoole_timer_list ] {
+ Function [ <internal:openswoole> function swoole_timer_list ] {
+
+ - Parameters [0] {
+ }
+ - Return [ OpenSwoole\Timer\Iterator ]
+ }
+ Function [ <internal:openswoole> function swoole_timer_clear ] {
- Parameters [0] {
}
- - Return [ Swoole\Timer\Iterator ]
+ - Return [ bool ]
}
- Method [ <internal:openswoole> public method swoole_timer_clear ] {
+ Function [ <internal:openswoole> function swoole_timer_clear_all ] {
- Parameters [0] {
}
- Return [ bool ]
}
- Method [ <internal:openswoole> public method swoole_timer_clear_all ] {
+ Function [ <internal:openswoole> function swoole_event_add ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> mixed $sock ]
+ Parameter #1 [ <optional> ?callable $readCallback = null ]
+ Parameter #2 [ <optional> ?callable $writeCallback = null ]
+ Parameter #3 [ <optional> int $flags = OpenSwoole\Event::EVENT_READ ]
+ }
+ - Return [ int|bool ]
+ }
+ Function [ <internal:openswoole> function swoole_event_del ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $sock ]
+ }
+ - Return [ bool ]
+ }
+ Function [ <internal:openswoole> function swoole_event_set ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> mixed $sock ]
+ Parameter #1 [ <optional> ?callable $readCallback = null ]
+ Parameter #2 [ <optional> ?callable $writeCallback = null ]
+ Parameter #3 [ <optional> int $flags = OpenSwoole\Event::EVENT_READ ]
+ }
+ - Return [ bool ]
+ }
+ Function [ <internal:openswoole> function swoole_event_isset ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $sock ]
+ Parameter #1 [ <optional> int $flags = OpenSwoole\Event::EVENT_READ | OpenSwoole\Event::EVENT_WRITE ]
+ }
+ - Return [ bool ]
+ }
+ Function [ <internal:openswoole> function swoole_event_dispatch ] {
- Parameters [0] {
}
- Return [ bool ]
}
- Function [ <internal:openswoole> function swoole_native_curl_close ] {
+ Function [ <internal:openswoole> function swoole_event_defer ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> callable $callback ]
+ }
+ - Return [ bool ]
+ }
+ Function [ <internal:openswoole> function swoole_event_cycle ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> callable $callback ]
+ Parameter #1 [ <optional> bool $before = false ]
+ }
+ - Return [ bool ]
+ }
+ Function [ <internal:openswoole> function swoole_event_write ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $sock ]
+ Parameter #1 [ <required> string $data ]
+ }
+ - Return [ bool ]
+ }
+ Function [ <internal:openswoole> function swoole_event_wait ] {
+
+ - Parameters [0] {
+ }
+ - Return [ void ]
+ }
+ Function [ <internal:openswoole> function swoole_event_exit ] {
+
+ - Parameters [0] {
+ }
+ - Return [ void ]
+ }
+ Function [ <internal:openswoole> function openswoole_native_curl_close ] {
- Parameters [1] {
Parameter #0 [ <required> CurlHandle $handle ]
}
- Return [ void ]
}
- Function [ <internal:openswoole> function swoole_native_curl_copy_handle ] {
+ Function [ <internal:openswoole> function openswoole_native_curl_copy_handle ] {
- Parameters [1] {
Parameter #0 [ <required> CurlHandle $handle ]
}
- Return [ CurlHandle|false ]
}
- Function [ <internal:openswoole> function swoole_native_curl_errno ] {
+ Function [ <internal:openswoole> function openswoole_native_curl_errno ] {
- Parameters [1] {
Parameter #0 [ <required> CurlHandle $handle ]
}
- Return [ int ]
}
- Function [ <internal:openswoole> function swoole_native_curl_error ] {
+ Function [ <internal:openswoole> function openswoole_native_curl_error ] {
- Parameters [1] {
Parameter #0 [ <required> CurlHandle $handle ]
}
- Return [ string ]
}
- Function [ <internal:openswoole> function swoole_native_curl_exec ] {
+ Function [ <internal:openswoole> function openswoole_native_curl_exec ] {
- Parameters [1] {
Parameter #0 [ <required> CurlHandle $handle ]
}
- Return [ string|bool ]
}
- Function [ <internal:openswoole> function swoole_native_curl_getinfo ] {
+ Function [ <internal:openswoole> function openswoole_native_curl_getinfo ] {
- Parameters [2] {
Parameter #0 [ <required> CurlHandle $handle ]
@@ -599,14 +1091,14 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
}
- Return [ mixed ]
}
- Function [ <internal:openswoole> function swoole_native_curl_init ] {
+ Function [ <internal:openswoole> function openswoole_native_curl_init ] {
- Parameters [1] {
Parameter #0 [ <optional> ?string $url = null ]
}
- Return [ CurlHandle|false ]
}
- Function [ <internal:openswoole> function swoole_native_curl_setopt ] {
+ Function [ <internal:openswoole> function openswoole_native_curl_setopt ] {
- Parameters [3] {
Parameter #0 [ <required> CurlHandle $handle ]
@@ -615,7 +1107,7 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
}
- Return [ bool ]
}
- Function [ <internal:openswoole> function swoole_native_curl_setopt_array ] {
+ Function [ <internal:openswoole> function openswoole_native_curl_setopt_array ] {
- Parameters [2] {
Parameter #0 [ <required> CurlHandle $handle ]
@@ -623,14 +1115,14 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
}
- Return [ bool ]
}
- Function [ <internal:openswoole> function swoole_native_curl_reset ] {
+ Function [ <internal:openswoole> function openswoole_native_curl_reset ] {
- Parameters [1] {
Parameter #0 [ <required> CurlHandle $handle ]
}
- Return [ void ]
}
- Function [ <internal:openswoole> function swoole_native_curl_escape ] {
+ Function [ <internal:openswoole> function openswoole_native_curl_escape ] {
- Parameters [2] {
Parameter #0 [ <required> CurlHandle $handle ]
@@ -638,7 +1130,7 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
}
- Return [ string|false ]
}
- Function [ <internal:openswoole> function swoole_native_curl_unescape ] {
+ Function [ <internal:openswoole> function openswoole_native_curl_unescape ] {
- Parameters [2] {
Parameter #0 [ <required> CurlHandle $handle ]
@@ -646,7 +1138,7 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
}
- Return [ string|false ]
}
- Function [ <internal:openswoole> function swoole_native_curl_pause ] {
+ Function [ <internal:openswoole> function openswoole_native_curl_pause ] {
- Parameters [2] {
Parameter #0 [ <required> CurlHandle $handle ]
@@ -654,7 +1146,7 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
}
- Return [ int ]
}
- Function [ <internal:openswoole> function swoole_native_curl_multi_add_handle ] {
+ Function [ <internal:openswoole> function openswoole_native_curl_multi_add_handle ] {
- Parameters [2] {
Parameter #0 [ <required> CurlMultiHandle $multi_handle ]
@@ -662,21 +1154,21 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
}
- Return [ int ]
}
- Function [ <internal:openswoole> function swoole_native_curl_multi_close ] {
+ Function [ <internal:openswoole> function openswoole_native_curl_multi_close ] {
- Parameters [1] {
Parameter #0 [ <required> CurlMultiHandle $multi_handle ]
}
- Return [ void ]
}
- Function [ <internal:openswoole> function swoole_native_curl_multi_errno ] {
+ Function [ <internal:openswoole> function openswoole_native_curl_multi_errno ] {
- Parameters [1] {
Parameter #0 [ <required> CurlMultiHandle $multi_handle ]
}
- Return [ int ]
}
- Function [ <internal:openswoole> function swoole_native_curl_multi_exec ] {
+ Function [ <internal:openswoole> function openswoole_native_curl_multi_exec ] {
- Parameters [2] {
Parameter #0 [ <required> CurlMultiHandle $multi_handle ]
@@ -684,7 +1176,7 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
}
- Return [ int ]
}
- Function [ <internal:openswoole> function swoole_native_curl_multi_select ] {
+ Function [ <internal:openswoole> function openswoole_native_curl_multi_select ] {
- Parameters [2] {
Parameter #0 [ <required> CurlMultiHandle $multi_handle ]
@@ -692,7 +1184,7 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
}
- Return [ int ]
}
- Function [ <internal:openswoole> function swoole_native_curl_multi_setopt ] {
+ Function [ <internal:openswoole> function openswoole_native_curl_multi_setopt ] {
- Parameters [3] {
Parameter #0 [ <required> CurlMultiHandle $multi_handle ]
@@ -701,14 +1193,14 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
}
- Return [ bool ]
}
- Function [ <internal:openswoole> function swoole_native_curl_multi_getcontent ] {
+ Function [ <internal:openswoole> function openswoole_native_curl_multi_getcontent ] {
- Parameters [1] {
Parameter #0 [ <required> CurlHandle $handle ]
}
- Return [ ?string ]
}
- Function [ <internal:openswoole> function swoole_native_curl_multi_info_read ] {
+ Function [ <internal:openswoole> function openswoole_native_curl_multi_info_read ] {
- Parameters [2] {
Parameter #0 [ <required> CurlMultiHandle $multi_handle ]
@@ -716,13 +1208,13 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
}
- Return [ array|false ]
}
- Function [ <internal:openswoole> function swoole_native_curl_multi_init ] {
+ Function [ <internal:openswoole> function openswoole_native_curl_multi_init ] {
- Parameters [0] {
}
- Return [ CurlMultiHandle ]
}
- Function [ <internal:openswoole> function swoole_native_curl_multi_remove_handle ] {
+ Function [ <internal:openswoole> function openswoole_native_curl_multi_remove_handle ] {
- Parameters [2] {
Parameter #0 [ <required> CurlMultiHandle $multi_handle ]
@@ -735,7 +1227,7 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
- Classes [50] {
Class [ <internal:openswoole> final class OpenSwoole\Constant ] {
- - Constants [411] {
+ - Constants [412] {
Constant [ public bool HAVE_DEBUG ] { }
Constant [ public bool HAVE_COMPRESSION ] { 1 }
Constant [ public bool HAVE_ZLIB ] { 1 }
@@ -978,6 +1470,7 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
Constant [ public string OPTION_SOCKET_TIMEOUT ] { socket_timeout }
Constant [ public string OPTION_MAX_CONCURRENCY ] { max_concurrency }
Constant [ public string OPTION_ENABLE_SERVER_TOKEN ] { enable_server_token }
+ Constant [ public string OPTION_REACTOR_TYPE ] { reactor_type }
Constant [ public string OPTION_AIO_CORE_WORKER_NUM ] { aio_core_worker_num }
Constant [ public string OPTION_AIO_WORKER_NUM ] { aio_worker_num }
Constant [ public string OPTION_AIO_MAX_WAIT_TIME ] { aio_max_wait_time }
@@ -2065,7 +2558,7 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
- Parameters [0] {
}
- - Return [ Swoole\Coroutine\Socket|false ]
+ - Return [ OpenSwoole\Coroutine\Socket|false ]
}
}
}
@@ -2401,7 +2894,7 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
- Parameters [0] {
}
- - Return [ Swoole\Timer\Iterator ]
+ - Return [ OpenSwoole\Timer\Iterator ]
}
Method [ <internal:openswoole> static public method clear ] {
@@ -2763,7 +3256,7 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
- Parameters [1] {
Parameter #0 [ <optional> int $cid = 0 ]
}
- - Return [ ?Swoole\Coroutine\Context ]
+ - Return [ ?OpenSwoole\Coroutine\Context ]
}
Method [ <internal:openswoole> static public method getBackTrace ] {
@@ -2806,7 +3299,7 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
- Parameters [0] {
}
- - Return [ Swoole\Coroutine\Iterator ]
+ - Return [ OpenSwoole\Coroutine\Iterator ]
}
Method [ <internal:openswoole> static public method select ] {
@@ -2884,7 +3377,7 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
Parameter #1 [ <optional> int $family = AF_INET ]
Parameter #2 [ <optional> int $sockType = SOCK_STREAM ]
Parameter #3 [ <optional> int $protocol = STREAM_IPPROTO_TCP ]
- Parameter #4 [ <optional> string $service = null ]
+ Parameter #4 [ <optional> ?string $service = null ]
Parameter #5 [ <optional> float $timeout = -1 ]
}
- Return [ array|false ]
@@ -3568,7 +4061,7 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
Parameter #1 [ <optional> int $family = AF_INET ]
Parameter #2 [ <optional> int $sockType = SOCK_STREAM ]
Parameter #3 [ <optional> int $protocol = STREAM_IPPROTO_TCP ]
- Parameter #4 [ <optional> string $service = null ]
+ Parameter #4 [ <optional> ?string $service = null ]
Parameter #5 [ <optional> float $timeout = -1 ]
}
- Return [ array|false ]
@@ -3867,7 +4360,7 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
}
}
- Class [ <internal:openswoole> class OpenSwoole\Coroutine\Curl\Exception extends OpenSwoole\Exception implements Stringable, Throwable ] {
+ Class [ <internal:openswoole> class Swoole\Coroutine\Curl\Exception extends OpenSwoole\Exception implements Stringable, Throwable ] {
- Constants [0] {
}
@@ -4376,7 +4869,7 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
- Parameters [3] {
Parameter #0 [ <required> int $sockType ]
- Parameter #1 [ <optional> bool $async = false ]
+ Parameter #1 [ <optional> int|bool $async = false ]
Parameter #2 [ <optional> string $id = "" ]
}
}
@@ -5814,37 +6307,37 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
- Return [ bool ]
}
- Method [ <internal:openswoole, inherits OpenSwoole\Timer> public method after ] {
+ Method [ <internal:openswoole> public method after ] {
- Parameters [2] {
Parameter #0 [ <required> int $ms ]
Parameter #1 [ <required> callable $callback ]
}
- - Return [ int|bool ]
+ - Return [ void ]
}
- Method [ <internal:openswoole, inherits OpenSwoole\Timer> public method tick ] {
+ Method [ <internal:openswoole> public method tick ] {
- Parameters [2] {
Parameter #0 [ <required> int $ms ]
Parameter #1 [ <required> callable $callback ]
}
- - Return [ int|bool ]
+ - Return [ void ]
}
- Method [ <internal:openswoole, inherits OpenSwoole\Timer> public method clearTimer ] {
+ Method [ <internal:openswoole> public method clearTimer ] {
- Parameters [0] {
}
- - Return [ bool ]
+ - Return [ void ]
}
- Method [ <internal:openswoole, inherits OpenSwoole\Event> public method defer ] {
+ Method [ <internal:openswoole> public method defer ] {
- Parameters [1] {
Parameter #0 [ <required> callable $callback ]
}
- - Return [ bool ]
+ - Return [ void ]
}
}
}
@@ -6028,42 +6521,42 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
- Parameters [0] {
}
- - Tentative return [ void ]
+ - Return [ void ]
}
Method [ <internal:openswoole, prototype Iterator> public method next ] {
- Parameters [0] {
}
- - Tentative return [ void ]
+ - Return [ void ]
}
Method [ <internal:openswoole, prototype Iterator> public method current ] {
- Parameters [0] {
}
- - Tentative return [ mixed ]
+ - Return [ mixed ]
}
Method [ <internal:openswoole, prototype Iterator> public method key ] {
- Parameters [0] {
}
- - Tentative return [ mixed ]
+ - Return [ mixed ]
}
Method [ <internal:openswoole, prototype Iterator> public method valid ] {
- Parameters [0] {
}
- - Tentative return [ bool ]
+ - Return [ bool ]
}
Method [ <internal:openswoole, prototype Countable> public method count ] {
- Parameters [0] {
}
- - Tentative return [ int ]
+ - Return [ int ]
}
Method [ <internal:openswoole, prototype ArrayAccess> public method offsetExists ] {
@@ -6071,7 +6564,7 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $key ]
}
- - Tentative return [ bool ]
+ - Return [ bool ]
}
Method [ <internal:openswoole, prototype ArrayAccess> public method offsetGet ] {
@@ -6079,7 +6572,7 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $key ]
}
- - Tentative return [ mixed ]
+ - Return [ mixed ]
}
Method [ <internal:openswoole, prototype ArrayAccess> public method offsetSet ] {
@@ -6088,7 +6581,7 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
Parameter #0 [ <required> mixed $key ]
Parameter #1 [ <required> mixed $value ]
}
- - Tentative return [ void ]
+ - Return [ void ]
}
Method [ <internal:openswoole, prototype ArrayAccess> public method offsetUnset ] {
@@ -6096,7 +6589,7 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $key ]
}
- - Tentative return [ void ]
+ - Return [ void ]
}
}
}
@@ -6209,7 +6702,7 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
- Parameters [1] {
Parameter #0 [ <required> ?array $options ]
}
- - Return [ Swoole\Http\Request|bool ]
+ - Return [ OpenSwoole\Http\Request|bool ]
}
}
@@ -6912,37 +7405,37 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
- Return [ bool ]
}
- Method [ <internal:openswoole, inherits OpenSwoole\Timer> public method after ] {
+ Method [ <internal:openswoole, inherits OpenSwoole\Server> public method after ] {
- Parameters [2] {
Parameter #0 [ <required> int $ms ]
Parameter #1 [ <required> callable $callback ]
}
- - Return [ int|bool ]
+ - Return [ void ]
}
- Method [ <internal:openswoole, inherits OpenSwoole\Timer> public method tick ] {
+ Method [ <internal:openswoole, inherits OpenSwoole\Server> public method tick ] {
- Parameters [2] {
Parameter #0 [ <required> int $ms ]
Parameter #1 [ <required> callable $callback ]
}
- - Return [ int|bool ]
+ - Return [ void ]
}
- Method [ <internal:openswoole, inherits OpenSwoole\Timer> public method clearTimer ] {
+ Method [ <internal:openswoole, inherits OpenSwoole\Server> public method clearTimer ] {
- Parameters [0] {
}
- - Return [ bool ]
+ - Return [ void ]
}
- Method [ <internal:openswoole, inherits OpenSwoole\Event> public method defer ] {
+ Method [ <internal:openswoole, inherits OpenSwoole\Server> public method defer ] {
- Parameters [1] {
Parameter #0 [ <required> callable $callback ]
}
- - Return [ bool ]
+ - Return [ void ]
}
}
}
@@ -7421,37 +7914,37 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
- Return [ bool ]
}
- Method [ <internal:openswoole, inherits OpenSwoole\Timer> public method after ] {
+ Method [ <internal:openswoole, inherits OpenSwoole\Server> public method after ] {
- Parameters [2] {
Parameter #0 [ <required> int $ms ]
Parameter #1 [ <required> callable $callback ]
}
- - Return [ int|bool ]
+ - Return [ void ]
}
- Method [ <internal:openswoole, inherits OpenSwoole\Timer> public method tick ] {
+ Method [ <internal:openswoole, inherits OpenSwoole\Server> public method tick ] {
- Parameters [2] {
Parameter #0 [ <required> int $ms ]
Parameter #1 [ <required> callable $callback ]
}
- - Return [ int|bool ]
+ - Return [ void ]
}
- Method [ <internal:openswoole, inherits OpenSwoole\Timer> public method clearTimer ] {
+ Method [ <internal:openswoole, inherits OpenSwoole\Server> public method clearTimer ] {
- Parameters [0] {
}
- - Return [ bool ]
+ - Return [ void ]
}
- Method [ <internal:openswoole, inherits OpenSwoole\Event> public method defer ] {
+ Method [ <internal:openswoole, inherits OpenSwoole\Server> public method defer ] {
- Parameters [1] {
Parameter #0 [ <required> callable $callback ]
}
- - Return [ bool ]
+ - Return [ void ]
}
}
}
@@ -7747,7 +8240,7 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
Method [ <internal:openswoole> public method fetchObject ] {
- Parameters [3] {
- Parameter #0 [ <optional> int $row = null ]
+ Parameter #0 [ <optional> ?int $row = null ]
Parameter #1 [ <optional> ?string $class_name = null ]
Parameter #2 [ <optional> array $ctor_params = [] ]
}
@@ -7757,7 +8250,7 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
Method [ <internal:openswoole> public method fetchAssoc ] {
- Parameters [1] {
- Parameter #0 [ <optional> int $row = null ]
+ Parameter #0 [ <optional> ?int $row = null ]
}
- Return [ array|false ]
}
@@ -7765,7 +8258,7 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
Method [ <internal:openswoole> public method fetchArray ] {
- Parameters [2] {
- Parameter #0 [ <optional> int $row = null ]
+ Parameter #0 [ <optional> ?int $row = null ]
Parameter #1 [ <optional> int $result_type = OPENSWOOLE_PGSQL_BOTH ]
}
- Return [ array|false ]
@@ -7774,7 +8267,7 @@ Extension [ <persistent> extension #93 openswoole version 25.2.0 ] {
Method [ <internal:openswoole> public method fetchRow ] {
- Parameters [2] {
- Parameter #0 [ <optional> int $row = null ]
+ Parameter #0 [ <optional> ?int $row = null ]
Parameter #1 [ <optional> int $result_type = OPENSWOOLE_PGSQL_NUM ]
}
- Return [ array|false ]
diff --git a/php-pecl-openswoole26.spec b/php-pecl-openswoole26.spec
index f802b41..711ffe8 100644
--- a/php-pecl-openswoole26.spec
+++ b/php-pecl-openswoole26.spec
@@ -1,13 +1,13 @@
-# remirepo spec file for php-pecl-openswoole25
+# remirepo spec file for php-pecl-openswoole26
#
-# SPDX-FileCopyrightText: Copyright 2013-2025 Remi Collet
+# SPDX-FileCopyrightText: Copyright 2013-2026 Remi Collet
# SPDX-License-Identifier: CECILL-2.1
# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
#
# Please, preserve the changelog entries
#
-%{?scl:%scl_package php-pecl-openswoole25}
+%{?scl:%scl_package php-pecl-openswoole26}
# See https://github.com/openswoole/swoole-src/issues/287
%global with_zts 0
@@ -15,34 +15,38 @@
# After 20-sockets, 20-mysqlnd
%global ini_name 40-%{pecl_name}.ini
+%if 0%{?fedora} || 0%{?rhel} >= 9
+%bcond_without uring
+%else
+%bcond_with uring
+%endif
+
+
%bcond_without cares
%bcond_without nghttpd2
%bcond_without brotli
%bcond_without pgsql
-%global upstream_version 25.2.0
+%global upstream_version 26.2.0
#global upstream_prever RC2
%global sources %{pecl_name}-%{upstream_version}%{?upstream_prever}
%global _configure ../%{sources}/configure
Summary: High Performance Programmatic Server for PHP with Async IO, Coroutines and Fibers
-Name: %{?scl_prefix}php-pecl-%{pecl_name}25
+Name: %{?scl_prefix}php-pecl-%{pecl_name}26
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
-Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 1%{?dist}
# SPDX: extension is Apache-2.0
# hiredis is BSD-3-Clause
License: Apache-2.0 AND BSD-3-Clause
URL: https://pecl.php.net/package/%{pecl_name}
Source0: https://pecl.php.net/get/%{sources}.tgz
-Patch0: 0001-fix-cpu-affinity-check.patch
-Patch1: 0002-fix-futex-check.patch
-
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?dtsprefix}gcc-c++
-BuildRequires: %{?scl_prefix}php-devel >= 8.2
+BuildRequires: %{?scl_prefix}php-devel >= 8.3
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: %{?scl_prefix}php-curl
BuildRequires: %{?scl_prefix}php-sockets
@@ -59,6 +63,9 @@ BuildRequires: brotli-devel
%if %{with pgsql}
BuildRequires: libpq-devel > 9
%endif
+%if %{with uring}
+BuildRequires: pkgconfig(liburing) >= 2
+%endif
Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}
@@ -71,15 +78,17 @@ Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}
Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
-%if 0%{?fedora} >= 42 || 0%{?rhel} >= 10 || "%{php_version}" > "8.4"
-Obsoletes: %{?scl_prefix}php-pecl-%{pecl_name} < 25
-Obsoletes: %{?scl_prefix}php-pecl-%{pecl_name}22 < 25
+%if 0%{?fedora} >= 44 || 0%{?rhel} >= 10 || "%{php_version}" > "8.5"
+Obsoletes: %{?scl_prefix}php-pecl-%{pecl_name} < 26
+Obsoletes: %{?scl_prefix}php-pecl-%{pecl_name}22 < 26
+Obsoletes: %{?scl_prefix}php-pecl-%{pecl_name}25 < 26
Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release}
Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release}
%else
# A single version can be installed
-Conflicts: %{?scl_prefix}php-pecl-%{pecl_name} < 25
-Conflicts: %{?scl_prefix}php-pecl-%{pecl_name}22 < 25
+Conflicts: %{?scl_prefix}php-pecl-%{pecl_name} < 26
+Conflicts: %{?scl_prefix}php-pecl-%{pecl_name}22 < 26
+Conflicts: %{?scl_prefix}php-pecl-%{pecl_name}25 < 26
%endif
# Only one extension can be installed (same symbols)
Conflicts: %{?scl_prefix}php-pecl-swoole
@@ -123,14 +132,12 @@ sed \
cd %{sources}
-%patch -P0 -p1 -b .pr376.1
-%patch -P1 -p1 -b .pr376.2
-
cp -p thirdparty/hiredis/COPYING hiredis-COPYING
cp -p thirdparty/nghttp2/COPYING nghttp2-COPYING
+cp -p thirdparty/llhttp/LICENSE llhttp-LICENSE
# Sanity check, really often broken
-extver=$(sed -n '/#define SWOOLE_VERSION /{s/.* "//;s/".*$//;p}' include/swoole_version.h)
+extver=$(sed -n '/#define OPENSWOOLE_VERSION /{s/.* "//;s/".*$//;p}' include/openswoole_version.h)
if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}"; then
: Error: Upstream extension version is ${extver}, expecting %{upstream_version}%{?upstream_prever}.
exit 1
@@ -150,6 +157,7 @@ extension=%{pecl_name}.so
; Configuration
;openswoole.enable_coroutine = On
;openswoole.enable_preemptive_scheduler = Off
+;openswoole.use_fiber_context = Off
;openswoole.display_errors = On
;openswoole.unixsock_buffer_size = 8388608
EOF
@@ -172,6 +180,9 @@ peclbuild() {
%if %{with cares}
--enable-cares \
%endif
+%if %{with uring}
+ --enable-io-uring \
+%endif
--enable-hook-curl \
--with-libdir=%{_lib} \
--with-php-config=$1
@@ -217,8 +228,9 @@ for i in $(grep 'role="doc"' package.xml | sed -e 's/^.*name="//;s/".*$//')
do install -Dpm 644 %{sources}/$i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i
done
+
# code not compatible with Python 3
-rm %{buildroot}%{pecl_testdir}/%{pecl_name}/tests/swoole_process/echo.py
+rm %{buildroot}%{pecl_testdir}/%{pecl_name}/tests/openswoole_process/echo.py
%check
@@ -243,6 +255,7 @@ OPT="--no-php-ini"
%files
%license %{sources}/LICENSE*
%license %{sources}/*-COPYING
+%license %{sources}/*-LICENSE
%{pecl_xmldir}/%{name}.xml
%config(noreplace) %{php_inidir}/%{ini_name}
@@ -270,6 +283,11 @@ OPT="--no-php-ini"
%changelog
+* Tue Mar 3 2026 Remi Collet <remi@remirepo.net> - 26.2.0-1
+- update to 26.2.0
+- raise dependency on PHP 8.3
+- rename to php-pecl-openswoole26 for new API
+
* Mon Feb 3 2025 Remi Collet <remi@remirepo.net> - 25.2.0-1
- update to 25.2.0
- re-license spec file to CECILL-2.1