From 60ba7176764e9b9178a74e5a84b6b5f4cea59fea Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 5 Dec 2019 12:40:30 +0100 Subject: v4.4.13RC1 --- PHPINFO | 10 +- REFLECTION | 766 +++++++++++++++++++++++++------------------------- php-pecl-swoole4.spec | 23 +- 3 files changed, 403 insertions(+), 396 deletions(-) diff --git a/PHPINFO b/PHPINFO index f7f8e72..3d1a51d 100644 --- a/PHPINFO +++ b/PHPINFO @@ -3,8 +3,8 @@ swoole Swoole => enabled Author => Swoole Team -Version => 4.4.12 -Built => Nov 4 2019 15:14:56 +Version => 4.4.13RC1 +Built => Nov 4 2019 00:00:00 coroutine => enabled trace_log => enabled epoll => enabled @@ -18,7 +18,7 @@ openssl => OpenSSL 1.1.1d FIPS 10 Sep 2019 http2 => enabled pcre => enabled zlib => 1.2.11 -brotli => 16777221/16777221 +brotli => 16777223/16777223 mutex_timedlock => enabled pthread_barrier => enabled futex => enabled @@ -26,9 +26,9 @@ mysqlnd => enabled async_redis => enabled Directive => Local Value => Master Value -swoole.display_errors => On => On swoole.enable_coroutine => On => On swoole.enable_library => On => On swoole.enable_preemptive_scheduler => Off => Off -swoole.unixsock_buffer_size => 8388608 => 8388608 +swoole.display_errors => On => On swoole.use_shortname => On => On +swoole.unixsock_buffer_size => 8388608 => 8388608 diff --git a/REFLECTION b/REFLECTION index c6c42b2..4b73a06 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,9 +1,6 @@ -Extension [ extension #154 swoole version 4.4.12 ] { +Extension [ extension #148 swoole version 4.4.13RC1 ] { - INI { - Entry [ swoole.display_errors ] - Current = 'On' - } Entry [ swoole.enable_coroutine ] Current = 'On' } @@ -13,342 +10,347 @@ Extension [ extension #154 swoole version 4.4.12 ] { Entry [ swoole.enable_preemptive_scheduler ] Current = 'Off' } - Entry [ swoole.unixsock_buffer_size ] - Current = '8388608' + Entry [ swoole.display_errors ] + Current = 'On' } Entry [ swoole.use_shortname ] Current = 'On' } + Entry [ swoole.unixsock_buffer_size ] + Current = '8388608' + } } - - Constants [327] { - Constant [ string SWOOLE_VERSION ] { 4.4.12 } - Constant [ integer SWOOLE_VERSION_ID ] { 40412 } - Constant [ integer SWOOLE_MAJOR_VERSION ] { 4 } - Constant [ integer SWOOLE_MINOR_VERSION ] { 4 } - Constant [ integer SWOOLE_RELEASE_VERSION ] { 12 } - Constant [ string SWOOLE_EXTRA_VERSION ] { } - Constant [ boolean SWOOLE_DEBUG ] { } - Constant [ boolean SWOOLE_HAVE_ZLIB ] { 1 } - Constant [ boolean SWOOLE_HAVE_BROTLI ] { 1 } - Constant [ boolean SWOOLE_USE_HTTP2 ] { 1 } - Constant [ integer SWOOLE_BASE ] { 1 } - Constant [ integer SWOOLE_PROCESS ] { 2 } - Constant [ integer SWOOLE_IPC_UNSOCK ] { 1 } - Constant [ integer SWOOLE_IPC_MSGQUEUE ] { 2 } - Constant [ integer SWOOLE_IPC_PREEMPTIVE ] { 3 } - Constant [ integer SWOOLE_SOCK_TCP ] { 1 } - Constant [ integer SWOOLE_SOCK_TCP6 ] { 3 } - Constant [ integer SWOOLE_SOCK_UDP ] { 2 } - Constant [ integer SWOOLE_SOCK_UDP6 ] { 4 } - Constant [ integer SWOOLE_SOCK_UNIX_DGRAM ] { 6 } - Constant [ integer SWOOLE_SOCK_UNIX_STREAM ] { 5 } - Constant [ integer SWOOLE_TCP ] { 1 } - Constant [ integer SWOOLE_TCP6 ] { 3 } - Constant [ integer SWOOLE_UDP ] { 2 } - Constant [ integer SWOOLE_UDP6 ] { 4 } - Constant [ integer SWOOLE_UNIX_DGRAM ] { 6 } - Constant [ integer SWOOLE_UNIX_STREAM ] { 5 } - Constant [ boolean SWOOLE_SOCK_SYNC ] { } - Constant [ boolean SWOOLE_SOCK_ASYNC ] { 1 } - Constant [ integer SWOOLE_SYNC ] { 2048 } - Constant [ integer SWOOLE_ASYNC ] { 1024 } - Constant [ integer SWOOLE_KEEP ] { 4096 } - Constant [ integer SWOOLE_SSL ] { 512 } - Constant [ integer SWOOLE_SSLv3_METHOD ] { 1 } - Constant [ integer SWOOLE_SSLv3_SERVER_METHOD ] { 2 } - Constant [ integer SWOOLE_SSLv3_CLIENT_METHOD ] { 3 } - Constant [ integer SWOOLE_SSLv23_METHOD ] { 0 } - Constant [ integer SWOOLE_SSLv23_SERVER_METHOD ] { 4 } - Constant [ integer SWOOLE_SSLv23_CLIENT_METHOD ] { 5 } - Constant [ integer SWOOLE_TLSv1_METHOD ] { 6 } - Constant [ integer SWOOLE_TLSv1_SERVER_METHOD ] { 7 } - Constant [ integer SWOOLE_TLSv1_CLIENT_METHOD ] { 8 } - Constant [ integer SWOOLE_TLSv1_1_METHOD ] { 9 } - Constant [ integer SWOOLE_TLSv1_1_SERVER_METHOD ] { 10 } - Constant [ integer SWOOLE_TLSv1_1_CLIENT_METHOD ] { 11 } - Constant [ integer SWOOLE_TLSv1_2_METHOD ] { 12 } - Constant [ integer SWOOLE_TLSv1_2_SERVER_METHOD ] { 13 } - Constant [ integer SWOOLE_TLSv1_2_CLIENT_METHOD ] { 14 } - Constant [ integer SWOOLE_DTLSv1_METHOD ] { 15 } - Constant [ integer SWOOLE_DTLSv1_SERVER_METHOD ] { 16 } - Constant [ integer SWOOLE_DTLSv1_CLIENT_METHOD ] { 17 } - Constant [ integer SWOOLE_EVENT_READ ] { 512 } - Constant [ integer SWOOLE_EVENT_WRITE ] { 1024 } - Constant [ integer SWOOLE_STRERROR_SYSTEM ] { 0 } - Constant [ integer SWOOLE_STRERROR_GAI ] { 1 } - Constant [ integer SWOOLE_STRERROR_DNS ] { 2 } - Constant [ integer SWOOLE_STRERROR_SWOOLE ] { 9 } - Constant [ integer SWOOLE_ERROR_MALLOC_FAIL ] { 501 } - Constant [ integer SWOOLE_ERROR_SYSTEM_CALL_FAIL ] { 502 } - Constant [ integer SWOOLE_ERROR_PHP_FATAL_ERROR ] { 503 } - Constant [ integer SWOOLE_ERROR_NAME_TOO_LONG ] { 504 } - Constant [ integer SWOOLE_ERROR_INVALID_PARAMS ] { 505 } - Constant [ integer SWOOLE_ERROR_QUEUE_FULL ] { 506 } - Constant [ integer SWOOLE_ERROR_OPERATION_NOT_SUPPORT ] { 507 } - Constant [ integer SWOOLE_ERROR_PROTOCOL_ERROR ] { 508 } - Constant [ integer SWOOLE_ERROR_FILE_NOT_EXIST ] { 700 } - Constant [ integer SWOOLE_ERROR_FILE_TOO_LARGE ] { 701 } - Constant [ integer SWOOLE_ERROR_FILE_EMPTY ] { 702 } - Constant [ integer SWOOLE_ERROR_DNSLOOKUP_DUPLICATE_REQUEST ] { 703 } - Constant [ integer SWOOLE_ERROR_DNSLOOKUP_RESOLVE_FAILED ] { 704 } - Constant [ integer SWOOLE_ERROR_DNSLOOKUP_RESOLVE_TIMEOUT ] { 705 } - Constant [ integer SWOOLE_ERROR_BAD_IPV6_ADDRESS ] { 706 } - Constant [ integer SWOOLE_ERROR_UNREGISTERED_SIGNAL ] { 707 } - Constant [ integer SWOOLE_ERROR_SESSION_CLOSED_BY_SERVER ] { 1001 } - Constant [ integer SWOOLE_ERROR_SESSION_CLOSED_BY_CLIENT ] { 1002 } - Constant [ integer SWOOLE_ERROR_SESSION_CLOSING ] { 1003 } - Constant [ integer SWOOLE_ERROR_SESSION_CLOSED ] { 1004 } - Constant [ integer SWOOLE_ERROR_SESSION_NOT_EXIST ] { 1005 } - Constant [ integer SWOOLE_ERROR_SESSION_INVALID_ID ] { 1006 } - Constant [ integer SWOOLE_ERROR_SESSION_DISCARD_TIMEOUT_DATA ] { 1007 } - Constant [ integer SWOOLE_ERROR_OUTPUT_BUFFER_OVERFLOW ] { 1008 } - Constant [ integer SWOOLE_ERROR_OUTPUT_SEND_YIELD ] { 1009 } - Constant [ integer SWOOLE_ERROR_SSL_NOT_READY ] { 1010 } - Constant [ integer SWOOLE_ERROR_SSL_CANNOT_USE_SENFILE ] { 1011 } - Constant [ integer SWOOLE_ERROR_SSL_EMPTY_PEER_CERTIFICATE ] { 1012 } - Constant [ integer SWOOLE_ERROR_SSL_VEFIRY_FAILED ] { 1013 } - Constant [ integer SWOOLE_ERROR_SSL_BAD_CLIENT ] { 1014 } - Constant [ integer SWOOLE_ERROR_SSL_BAD_PROTOCOL ] { 1015 } - Constant [ integer SWOOLE_ERROR_SSL_RESET ] { 1016 } - Constant [ integer SWOOLE_ERROR_PACKAGE_LENGTH_TOO_LARGE ] { 1201 } - Constant [ integer SWOOLE_ERROR_PACKAGE_LENGTH_NOT_FOUND ] { 1202 } - Constant [ integer SWOOLE_ERROR_DATA_LENGTH_TOO_LARGE ] { 1203 } - Constant [ integer SWOOLE_ERROR_TASK_PACKAGE_TOO_BIG ] { 2001 } - Constant [ integer SWOOLE_ERROR_TASK_DISPATCH_FAIL ] { 2002 } - Constant [ integer SWOOLE_ERROR_TASK_TIMEOUT ] { 2003 } - Constant [ integer SWOOLE_ERROR_HTTP2_STREAM_ID_TOO_BIG ] { 3001 } - Constant [ integer SWOOLE_ERROR_HTTP2_STREAM_NO_HEADER ] { 3002 } - Constant [ integer SWOOLE_ERROR_HTTP2_STREAM_NOT_FOUND ] { 3003 } - Constant [ integer SWOOLE_ERROR_AIO_BAD_REQUEST ] { 4001 } - Constant [ integer SWOOLE_ERROR_AIO_CANCELED ] { 4002 } - Constant [ integer SWOOLE_ERROR_AIO_TIMEOUT ] { 4003 } - Constant [ integer SWOOLE_ERROR_CLIENT_NO_CONNECTION ] { 5001 } - Constant [ integer SWOOLE_ERROR_SOCKET_CLOSED ] { 5002 } - Constant [ integer SWOOLE_ERROR_SOCKS5_UNSUPPORT_VERSION ] { 7001 } - Constant [ integer SWOOLE_ERROR_SOCKS5_UNSUPPORT_METHOD ] { 7002 } - Constant [ integer SWOOLE_ERROR_SOCKS5_AUTH_FAILED ] { 7003 } - Constant [ integer SWOOLE_ERROR_SOCKS5_SERVER_ERROR ] { 7004 } - Constant [ integer SWOOLE_ERROR_HTTP_PROXY_HANDSHAKE_ERROR ] { 8001 } - Constant [ integer SWOOLE_ERROR_HTTP_INVALID_PROTOCOL ] { 8002 } - Constant [ integer SWOOLE_ERROR_WEBSOCKET_BAD_CLIENT ] { 8501 } - Constant [ integer SWOOLE_ERROR_WEBSOCKET_BAD_OPCODE ] { 8502 } - Constant [ integer SWOOLE_ERROR_WEBSOCKET_UNCONNECTED ] { 8503 } - Constant [ integer SWOOLE_ERROR_WEBSOCKET_HANDSHAKE_FAILED ] { 8504 } - Constant [ integer SWOOLE_ERROR_SERVER_MUST_CREATED_BEFORE_CLIENT ] { 9001 } - Constant [ integer SWOOLE_ERROR_SERVER_TOO_MANY_SOCKET ] { 9002 } - Constant [ integer SWOOLE_ERROR_SERVER_WORKER_TERMINATED ] { 9003 } - Constant [ integer SWOOLE_ERROR_SERVER_INVALID_LISTEN_PORT ] { 9004 } - Constant [ integer SWOOLE_ERROR_SERVER_TOO_MANY_LISTEN_PORT ] { 9005 } - Constant [ integer SWOOLE_ERROR_SERVER_PIPE_BUFFER_FULL ] { 9006 } - Constant [ integer SWOOLE_ERROR_SERVER_NO_IDLE_WORKER ] { 9007 } - Constant [ integer SWOOLE_ERROR_SERVER_ONLY_START_ONE ] { 9008 } - Constant [ integer SWOOLE_ERROR_SERVER_SEND_IN_MASTER ] { 9009 } - Constant [ integer SWOOLE_ERROR_SERVER_INVALID_REQUEST ] { 9010 } - Constant [ integer SWOOLE_ERROR_SERVER_CONNECT_FAIL ] { 9011 } - Constant [ integer SWOOLE_ERROR_SERVER_WORKER_EXIT_TIMEOUT ] { 9012 } - Constant [ integer SWOOLE_ERROR_CO_OUT_OF_COROUTINE ] { 10001 } - Constant [ integer SWOOLE_ERROR_CO_HAS_BEEN_BOUND ] { 10002 } - Constant [ integer SWOOLE_ERROR_CO_HAS_BEEN_DISCARDED ] { 10003 } - Constant [ integer SWOOLE_ERROR_CO_MUTEX_DOUBLE_UNLOCK ] { 10004 } - Constant [ integer SWOOLE_ERROR_CO_BLOCK_OBJECT_LOCKED ] { 10005 } - Constant [ integer SWOOLE_ERROR_CO_BLOCK_OBJECT_WAITING ] { 10006 } - Constant [ integer SWOOLE_ERROR_CO_YIELD_FAILED ] { 10007 } - Constant [ integer SWOOLE_ERROR_CO_GETCONTEXT_FAILED ] { 10008 } - Constant [ integer SWOOLE_ERROR_CO_SWAPCONTEXT_FAILED ] { 10009 } - Constant [ integer SWOOLE_ERROR_CO_MAKECONTEXT_FAILED ] { 10010 } - Constant [ integer SWOOLE_ERROR_CO_IOCPINIT_FAILED ] { 10011 } - Constant [ integer SWOOLE_ERROR_CO_PROTECT_STACK_FAILED ] { 10012 } - Constant [ integer SWOOLE_ERROR_CO_STD_THREAD_LINK_ERROR ] { 10013 } - Constant [ integer SWOOLE_ERROR_CO_DISABLED_MULTI_THREAD ] { 10014 } - Constant [ integer SWOOLE_TRACE_SERVER ] { 2 } - Constant [ integer SWOOLE_TRACE_CLIENT ] { 4 } - Constant [ integer SWOOLE_TRACE_BUFFER ] { 8 } - Constant [ integer SWOOLE_TRACE_CONN ] { 16 } - Constant [ integer SWOOLE_TRACE_EVENT ] { 32 } - Constant [ integer SWOOLE_TRACE_WORKER ] { 64 } - Constant [ integer SWOOLE_TRACE_REACTOR ] { 256 } - Constant [ integer SWOOLE_TRACE_PHP ] { 512 } - Constant [ integer SWOOLE_TRACE_HTTP ] { 1024 } - Constant [ integer SWOOLE_TRACE_HTTP2 ] { 2048 } - Constant [ integer SWOOLE_TRACE_EOF_PROTOCOL ] { 4096 } - Constant [ integer SWOOLE_TRACE_LENGTH_PROTOCOL ] { 8192 } - Constant [ integer SWOOLE_TRACE_CLOSE ] { 16384 } - Constant [ integer SWOOLE_TRACE_REDIS_CLIENT ] { 65536 } - Constant [ integer SWOOLE_TRACE_MYSQL_CLIENT ] { 131072 } - Constant [ integer SWOOLE_TRACE_HTTP_CLIENT ] { 262144 } - Constant [ integer SWOOLE_TRACE_AIO ] { 524288 } - Constant [ integer SWOOLE_TRACE_SSL ] { 1048576 } - Constant [ integer SWOOLE_TRACE_NORMAL ] { 2097152 } - Constant [ integer SWOOLE_TRACE_CHANNEL ] { 4194304 } - Constant [ integer SWOOLE_TRACE_TIMER ] { 8388608 } - Constant [ integer SWOOLE_TRACE_SOCKET ] { 16777216 } - Constant [ integer SWOOLE_TRACE_COROUTINE ] { 33554432 } - Constant [ integer SWOOLE_TRACE_CONTEXT ] { 67108864 } - Constant [ integer SWOOLE_TRACE_CO_HTTP_SERVER ] { 134217728 } - Constant [ integer SWOOLE_TRACE_ALL ] { 4294967295 } - Constant [ integer SWOOLE_LOG_DEBUG ] { 0 } - Constant [ integer SWOOLE_LOG_TRACE ] { 1 } - Constant [ integer SWOOLE_LOG_INFO ] { 2 } - Constant [ integer SWOOLE_LOG_NOTICE ] { 3 } - Constant [ integer SWOOLE_LOG_WARNING ] { 4 } - Constant [ integer SWOOLE_LOG_ERROR ] { 5 } - Constant [ integer SWOOLE_LOG_NONE ] { 6 } - Constant [ integer SWOOLE_IPC_NONE ] { 0 } - Constant [ integer SWOOLE_IPC_UNIXSOCK ] { 1 } - Constant [ integer SWOOLE_IPC_SOCKET ] { 3 } - Constant [ integer SWOOLE_FILELOCK ] { 2 } - Constant [ integer SWOOLE_MUTEX ] { 3 } - Constant [ integer SWOOLE_SEM ] { 4 } - Constant [ integer SWOOLE_RWLOCK ] { 1 } - Constant [ integer SWOOLE_SPINLOCK ] { 5 } - Constant [ integer SWOOLE_TIMER_MIN_MS ] { 1 } + - Constants [329] { + Constant [ string SWOOLE_VERSION ] { 4.4.13RC1 } + Constant [ int SWOOLE_VERSION_ID ] { 40413 } + Constant [ int SWOOLE_MAJOR_VERSION ] { 4 } + Constant [ int SWOOLE_MINOR_VERSION ] { 4 } + Constant [ int SWOOLE_RELEASE_VERSION ] { 13 } + Constant [ string SWOOLE_EXTRA_VERSION ] { RC1 } + Constant [ bool SWOOLE_DEBUG ] { } + Constant [ bool SWOOLE_HAVE_COMPRESSION ] { 1 } + Constant [ bool SWOOLE_HAVE_ZLIB ] { 1 } + Constant [ bool SWOOLE_HAVE_BROTLI ] { 1 } + Constant [ bool SWOOLE_USE_HTTP2 ] { 1 } + Constant [ bool SWOOLE_USE_SHORTNAME ] { 1 } + 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_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_SSLv23_METHOD ] { 0 } + Constant [ int SWOOLE_SSLv23_SERVER_METHOD ] { 4 } + Constant [ int SWOOLE_SSLv23_CLIENT_METHOD ] { 5 } + 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_DTLSv1_METHOD ] { 15 } + Constant [ int SWOOLE_DTLSv1_SERVER_METHOD ] { 16 } + Constant [ int SWOOLE_DTLSv1_CLIENT_METHOD ] { 17 } + 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_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 ] { 703 } + Constant [ int SWOOLE_ERROR_DNSLOOKUP_RESOLVE_FAILED ] { 704 } + Constant [ int SWOOLE_ERROR_DNSLOOKUP_RESOLVE_TIMEOUT ] { 705 } + Constant [ int SWOOLE_ERROR_BAD_IPV6_ADDRESS ] { 706 } + Constant [ int SWOOLE_ERROR_UNREGISTERED_SIGNAL ] { 707 } + 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_OUTPUT_BUFFER_OVERFLOW ] { 1008 } + Constant [ int SWOOLE_ERROR_OUTPUT_SEND_YIELD ] { 1009 } + Constant [ int SWOOLE_ERROR_SSL_NOT_READY ] { 1010 } + Constant [ int SWOOLE_ERROR_SSL_CANNOT_USE_SENFILE ] { 1011 } + Constant [ int SWOOLE_ERROR_SSL_EMPTY_PEER_CERTIFICATE ] { 1012 } + Constant [ int SWOOLE_ERROR_SSL_VEFIRY_FAILED ] { 1013 } + Constant [ int SWOOLE_ERROR_SSL_BAD_CLIENT ] { 1014 } + Constant [ int SWOOLE_ERROR_SSL_BAD_PROTOCOL ] { 1015 } + Constant [ int SWOOLE_ERROR_SSL_RESET ] { 1016 } + 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_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 ] { 5002 } + 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_HTTP_PROXY_HANDSHAKE_ERROR ] { 8001 } + Constant [ int SWOOLE_ERROR_HTTP_INVALID_PROTOCOL ] { 8002 } + 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_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_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_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_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_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_ALL ] { 4294967295 } + 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_IPC_NONE ] { 0 } + Constant [ int SWOOLE_IPC_UNIXSOCK ] { 1 } + Constant [ int SWOOLE_IPC_SOCKET ] { 3 } + 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 [ integer SWOOLE_TIMER_MAX_MS ] { 9223372036854775807 } + Constant [ int SWOOLE_TIMER_MAX_MS ] { 9223372036854775807 } Constant [ float SWOOLE_TIMER_MAX_SEC ] { 9,2233720368548E+15 } - Constant [ integer SWOOLE_DEFAULT_MAX_CORO_NUM ] { 100000 } - Constant [ integer SWOOLE_CORO_MAX_NUM_LIMIT ] { 9223372036854775807 } - Constant [ integer SWOOLE_CORO_INIT ] { 0 } - Constant [ integer SWOOLE_CORO_WAITING ] { 1 } - Constant [ integer SWOOLE_CORO_RUNNING ] { 2 } - Constant [ integer SWOOLE_CORO_END ] { 3 } - Constant [ integer SWOOLE_EXIT_IN_COROUTINE ] { 2 } - Constant [ integer SWOOLE_EXIT_IN_SERVER ] { 4 } - Constant [ integer SWOOLE_CHANNEL_OK ] { 0 } - Constant [ integer SWOOLE_CHANNEL_TIMEOUT ] { -1 } - Constant [ integer SWOOLE_CHANNEL_CLOSED ] { -2 } - Constant [ integer SWOOLE_HOOK_TCP ] { 2 } - Constant [ integer SWOOLE_HOOK_UDP ] { 4 } - Constant [ integer SWOOLE_HOOK_UNIX ] { 8 } - Constant [ integer SWOOLE_HOOK_UDG ] { 16 } - Constant [ integer SWOOLE_HOOK_SSL ] { 32 } - Constant [ integer SWOOLE_HOOK_TLS ] { 64 } - Constant [ integer SWOOLE_HOOK_STREAM_FUNCTION ] { 128 } - Constant [ integer SWOOLE_HOOK_STREAM_SELECT ] { 128 } - Constant [ integer SWOOLE_HOOK_FILE ] { 256 } - Constant [ integer SWOOLE_HOOK_SLEEP ] { 512 } - Constant [ integer SWOOLE_HOOK_PROC ] { 1024 } - Constant [ integer SWOOLE_HOOK_CURL ] { 268435456 } - Constant [ integer SWOOLE_HOOK_BLOCKING_FUNCTION ] { 1073741824 } - Constant [ integer SWOOLE_HOOK_ALL ] { 1879048191 } - Constant [ integer SOCKET_ECANCELED ] { 125 } - Constant [ integer SWOOLE_HTTP_CLIENT_ESTATUS_CONNECT_FAILED ] { -1 } - Constant [ integer SWOOLE_HTTP_CLIENT_ESTATUS_REQUEST_TIMEOUT ] { -2 } - Constant [ integer SWOOLE_HTTP_CLIENT_ESTATUS_SERVER_RESET ] { -3 } - Constant [ integer SWOOLE_MYSQLND_CR_UNKNOWN_ERROR ] { 2000 } - Constant [ integer SWOOLE_MYSQLND_CR_CONNECTION_ERROR ] { 2002 } - Constant [ integer SWOOLE_MYSQLND_CR_SERVER_GONE_ERROR ] { 2006 } - Constant [ integer SWOOLE_MYSQLND_CR_OUT_OF_MEMORY ] { 2008 } - Constant [ integer SWOOLE_MYSQLND_CR_SERVER_LOST ] { 2013 } - Constant [ integer SWOOLE_MYSQLND_CR_COMMANDS_OUT_OF_SYNC ] { 2014 } - Constant [ integer SWOOLE_MYSQLND_CR_CANT_FIND_CHARSET ] { 2019 } - Constant [ integer SWOOLE_MYSQLND_CR_MALFORMED_PACKET ] { 2027 } - Constant [ integer SWOOLE_MYSQLND_CR_NOT_IMPLEMENTED ] { 2054 } - Constant [ integer SWOOLE_MYSQLND_CR_NO_PREPARE_STMT ] { 2030 } - Constant [ integer SWOOLE_MYSQLND_CR_PARAMS_NOT_BOUND ] { 2031 } - Constant [ integer SWOOLE_MYSQLND_CR_INVALID_PARAMETER_NO ] { 2034 } - Constant [ integer SWOOLE_MYSQLND_CR_INVALID_BUFFER_USE ] { 2035 } - Constant [ integer SWOOLE_REDIS_MODE_MULTI ] { 0 } - Constant [ integer SWOOLE_REDIS_MODE_PIPELINE ] { 1 } - Constant [ integer SWOOLE_REDIS_TYPE_NOT_FOUND ] { 0 } - Constant [ integer SWOOLE_REDIS_TYPE_STRING ] { 1 } - Constant [ integer SWOOLE_REDIS_TYPE_SET ] { 2 } - Constant [ integer SWOOLE_REDIS_TYPE_LIST ] { 3 } - Constant [ integer SWOOLE_REDIS_TYPE_ZSET ] { 4 } - Constant [ integer SWOOLE_REDIS_TYPE_HASH ] { 5 } - Constant [ integer SWOOLE_REDIS_ERR_IO ] { 1 } - Constant [ integer SWOOLE_REDIS_ERR_OTHER ] { 2 } - Constant [ integer SWOOLE_REDIS_ERR_EOF ] { 3 } - Constant [ integer SWOOLE_REDIS_ERR_PROTOCOL ] { 4 } - Constant [ integer SWOOLE_REDIS_ERR_OOM ] { 5 } - Constant [ integer SWOOLE_REDIS_ERR_CLOSED ] { 6 } - Constant [ integer SWOOLE_REDIS_ERR_NOAUTH ] { 7 } - Constant [ integer SWOOLE_REDIS_ERR_ALLOC ] { 8 } - Constant [ integer SWOOLE_HTTP2_TYPE_DATA ] { 0 } - Constant [ integer SWOOLE_HTTP2_TYPE_HEADERS ] { 1 } - Constant [ integer SWOOLE_HTTP2_TYPE_PRIORITY ] { 2 } - Constant [ integer SWOOLE_HTTP2_TYPE_RST_STREAM ] { 3 } - Constant [ integer SWOOLE_HTTP2_TYPE_SETTINGS ] { 4 } - Constant [ integer SWOOLE_HTTP2_TYPE_PUSH_PROMISE ] { 5 } - Constant [ integer SWOOLE_HTTP2_TYPE_PING ] { 6 } - Constant [ integer SWOOLE_HTTP2_TYPE_GOAWAY ] { 7 } - Constant [ integer SWOOLE_HTTP2_TYPE_WINDOW_UPDATE ] { 8 } - Constant [ integer SWOOLE_HTTP2_TYPE_CONTINUATION ] { 9 } - Constant [ integer SWOOLE_HTTP2_ERROR_NO_ERROR ] { 0 } - Constant [ integer SWOOLE_HTTP2_ERROR_PROTOCOL_ERROR ] { 1 } - Constant [ integer SWOOLE_HTTP2_ERROR_INTERNAL_ERROR ] { 2 } - Constant [ integer SWOOLE_HTTP2_ERROR_FLOW_CONTROL_ERROR ] { 3 } - Constant [ integer SWOOLE_HTTP2_ERROR_SETTINGS_TIMEOUT ] { 4 } - Constant [ integer SWOOLE_HTTP2_ERROR_STREAM_CLOSED ] { 5 } - Constant [ integer SWOOLE_HTTP2_ERROR_FRAME_SIZE_ERROR ] { 6 } - Constant [ integer SWOOLE_HTTP2_ERROR_REFUSED_STREAM ] { 7 } - Constant [ integer SWOOLE_HTTP2_ERROR_CANCEL ] { 8 } - Constant [ integer SWOOLE_HTTP2_ERROR_COMPRESSION_ERROR ] { 9 } - Constant [ integer SWOOLE_HTTP2_ERROR_CONNECT_ERROR ] { 10 } - Constant [ integer SWOOLE_HTTP2_ERROR_ENHANCE_YOUR_CALM ] { 11 } - Constant [ integer SWOOLE_HTTP2_ERROR_INADEQUATE_SECURITY ] { 12 } - Constant [ integer SWOOLE_DISPATCH_RESULT_DISCARD_PACKET ] { -1 } - Constant [ integer SWOOLE_DISPATCH_RESULT_CLOSE_CONNECTION ] { -2 } - Constant [ integer SWOOLE_DISPATCH_RESULT_USERFUNC_FALLBACK ] { -3 } - Constant [ integer SWOOLE_TASK_TMPFILE ] { 1 } - Constant [ integer SWOOLE_TASK_SERIALIZE ] { 2 } - Constant [ integer SWOOLE_TASK_NONBLOCK ] { 4 } - Constant [ integer SWOOLE_TASK_CALLBACK ] { 8 } - Constant [ integer SWOOLE_TASK_WAITALL ] { 16 } - Constant [ integer SWOOLE_TASK_COROUTINE ] { 32 } - Constant [ integer SWOOLE_TASK_PEEK ] { 64 } - Constant [ integer SWOOLE_TASK_NOREPLY ] { 128 } - Constant [ integer SWOOLE_WEBSOCKET_STATUS_CONNECTION ] { 1 } - Constant [ integer SWOOLE_WEBSOCKET_STATUS_HANDSHAKE ] { 2 } - Constant [ integer SWOOLE_WEBSOCKET_STATUS_ACTIVE ] { 3 } - Constant [ integer SWOOLE_WEBSOCKET_STATUS_CLOSING ] { 4 } - Constant [ integer SWOOLE_WEBSOCKET_OPCODE_CONTINUATION ] { 0 } - Constant [ integer SWOOLE_WEBSOCKET_OPCODE_TEXT ] { 1 } - Constant [ integer SWOOLE_WEBSOCKET_OPCODE_BINARY ] { 2 } - Constant [ integer SWOOLE_WEBSOCKET_OPCODE_CLOSE ] { 8 } - Constant [ integer SWOOLE_WEBSOCKET_OPCODE_PING ] { 9 } - Constant [ integer SWOOLE_WEBSOCKET_OPCODE_PONG ] { 10 } - Constant [ integer SWOOLE_WEBSOCKET_FLAG_FIN ] { 1 } - Constant [ integer SWOOLE_WEBSOCKET_FLAG_RSV1 ] { 4 } - Constant [ integer SWOOLE_WEBSOCKET_FLAG_RSV2 ] { 8 } - Constant [ integer SWOOLE_WEBSOCKET_FLAG_RSV3 ] { 16 } - Constant [ integer SWOOLE_WEBSOCKET_FLAG_MASK ] { 32 } - Constant [ integer SWOOLE_WEBSOCKET_FLAG_COMPRESS ] { 2 } - Constant [ integer SWOOLE_WEBSOCKET_CLOSE_NORMAL ] { 1000 } - Constant [ integer SWOOLE_WEBSOCKET_CLOSE_GOING_AWAY ] { 1001 } - Constant [ integer SWOOLE_WEBSOCKET_CLOSE_PROTOCOL_ERROR ] { 1002 } - Constant [ integer SWOOLE_WEBSOCKET_CLOSE_DATA_ERROR ] { 1003 } - Constant [ integer SWOOLE_WEBSOCKET_CLOSE_STATUS_ERROR ] { 1005 } - Constant [ integer SWOOLE_WEBSOCKET_CLOSE_ABNORMAL ] { 1006 } - Constant [ integer SWOOLE_WEBSOCKET_CLOSE_MESSAGE_ERROR ] { 1007 } - Constant [ integer SWOOLE_WEBSOCKET_CLOSE_POLICY_ERROR ] { 1008 } - Constant [ integer SWOOLE_WEBSOCKET_CLOSE_MESSAGE_TOO_BIG ] { 1009 } - Constant [ integer SWOOLE_WEBSOCKET_CLOSE_EXTENSION_MISSING ] { 1010 } - Constant [ integer SWOOLE_WEBSOCKET_CLOSE_SERVER_ERROR ] { 1011 } - Constant [ integer SWOOLE_WEBSOCKET_CLOSE_TLS ] { 1015 } - Constant [ integer WEBSOCKET_STATUS_CONNECTION ] { 1 } - Constant [ integer WEBSOCKET_STATUS_HANDSHAKE ] { 2 } - Constant [ integer WEBSOCKET_STATUS_FRAME ] { 3 } - Constant [ integer WEBSOCKET_STATUS_ACTIVE ] { 3 } - Constant [ integer WEBSOCKET_STATUS_CLOSING ] { 4 } - Constant [ integer WEBSOCKET_OPCODE_CONTINUATION ] { 0 } - Constant [ integer WEBSOCKET_OPCODE_TEXT ] { 1 } - Constant [ integer WEBSOCKET_OPCODE_BINARY ] { 2 } - Constant [ integer WEBSOCKET_OPCODE_CLOSE ] { 8 } - Constant [ integer WEBSOCKET_OPCODE_PING ] { 9 } - Constant [ integer WEBSOCKET_OPCODE_PONG ] { 10 } - Constant [ integer WEBSOCKET_CLOSE_NORMAL ] { 1000 } - Constant [ integer WEBSOCKET_CLOSE_GOING_AWAY ] { 1001 } - Constant [ integer WEBSOCKET_CLOSE_PROTOCOL_ERROR ] { 1002 } - Constant [ integer WEBSOCKET_CLOSE_DATA_ERROR ] { 1003 } - Constant [ integer WEBSOCKET_CLOSE_STATUS_ERROR ] { 1005 } - Constant [ integer WEBSOCKET_CLOSE_ABNORMAL ] { 1006 } - Constant [ integer WEBSOCKET_CLOSE_MESSAGE_ERROR ] { 1007 } - Constant [ integer WEBSOCKET_CLOSE_POLICY_ERROR ] { 1008 } - Constant [ integer WEBSOCKET_CLOSE_MESSAGE_TOO_BIG ] { 1009 } - Constant [ integer WEBSOCKET_CLOSE_EXTENSION_MISSING ] { 1010 } - Constant [ integer WEBSOCKET_CLOSE_SERVER_ERROR ] { 1011 } - Constant [ integer WEBSOCKET_CLOSE_TLS ] { 1015 } + 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_EXIT_IN_COROUTINE ] { 2 } + Constant [ int SWOOLE_EXIT_IN_SERVER ] { 4 } + Constant [ int SWOOLE_CHANNEL_OK ] { 0 } + Constant [ int SWOOLE_CHANNEL_TIMEOUT ] { -1 } + Constant [ int SWOOLE_CHANNEL_CLOSED ] { -2 } + 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_SLEEP ] { 512 } + Constant [ int SWOOLE_HOOK_PROC ] { 1024 } + Constant [ int SWOOLE_HOOK_CURL ] { 268435456 } + Constant [ int SWOOLE_HOOK_BLOCKING_FUNCTION ] { 1073741824 } + Constant [ int SWOOLE_HOOK_ALL ] { 1879048191 } + 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_MYSQLND_CR_UNKNOWN_ERROR ] { 2000 } + Constant [ int SWOOLE_MYSQLND_CR_CONNECTION_ERROR ] { 2002 } + Constant [ int SWOOLE_MYSQLND_CR_SERVER_GONE_ERROR ] { 2006 } + Constant [ int SWOOLE_MYSQLND_CR_OUT_OF_MEMORY ] { 2008 } + Constant [ int SWOOLE_MYSQLND_CR_SERVER_LOST ] { 2013 } + Constant [ int SWOOLE_MYSQLND_CR_COMMANDS_OUT_OF_SYNC ] { 2014 } + Constant [ int SWOOLE_MYSQLND_CR_CANT_FIND_CHARSET ] { 2019 } + Constant [ int SWOOLE_MYSQLND_CR_MALFORMED_PACKET ] { 2027 } + Constant [ int SWOOLE_MYSQLND_CR_NOT_IMPLEMENTED ] { 2054 } + Constant [ int SWOOLE_MYSQLND_CR_NO_PREPARE_STMT ] { 2030 } + Constant [ int SWOOLE_MYSQLND_CR_PARAMS_NOT_BOUND ] { 2031 } + Constant [ int SWOOLE_MYSQLND_CR_INVALID_PARAMETER_NO ] { 2034 } + Constant [ int SWOOLE_MYSQLND_CR_INVALID_BUFFER_USE ] { 2035 } + Constant [ int SWOOLE_REDIS_MODE_MULTI ] { 0 } + Constant [ int SWOOLE_REDIS_MODE_PIPELINE ] { 1 } + Constant [ int SWOOLE_REDIS_TYPE_NOT_FOUND ] { 0 } + Constant [ int SWOOLE_REDIS_TYPE_STRING ] { 1 } + Constant [ int SWOOLE_REDIS_TYPE_SET ] { 2 } + Constant [ int SWOOLE_REDIS_TYPE_LIST ] { 3 } + Constant [ int SWOOLE_REDIS_TYPE_ZSET ] { 4 } + Constant [ int SWOOLE_REDIS_TYPE_HASH ] { 5 } + Constant [ int SWOOLE_REDIS_ERR_IO ] { 1 } + Constant [ int SWOOLE_REDIS_ERR_OTHER ] { 2 } + Constant [ int SWOOLE_REDIS_ERR_EOF ] { 3 } + Constant [ int SWOOLE_REDIS_ERR_PROTOCOL ] { 4 } + Constant [ int SWOOLE_REDIS_ERR_OOM ] { 5 } + Constant [ int SWOOLE_REDIS_ERR_CLOSED ] { 6 } + Constant [ int SWOOLE_REDIS_ERR_NOAUTH ] { 7 } + Constant [ int SWOOLE_REDIS_ERR_ALLOC ] { 8 } + 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_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_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 } } - Functions { @@ -1034,11 +1036,11 @@ Extension [ extension #154 swoole version 4.4.12 ] { Class [ class Swoole\Lock ] { - Constants [5] { - Constant [ public integer FILELOCK ] { 2 } - Constant [ public integer MUTEX ] { 3 } - Constant [ public integer SEM ] { 4 } - Constant [ public integer RWLOCK ] { 1 } - Constant [ public integer SPINLOCK ] { 5 } + Constant [ public int FILELOCK ] { 2 } + Constant [ public int MUTEX ] { 3 } + Constant [ public int SEM ] { 4 } + Constant [ public int RWLOCK ] { 1 } + Constant [ public int SPINLOCK ] { 5 } } - Static properties [0] { @@ -1114,11 +1116,11 @@ Extension [ extension #154 swoole version 4.4.12 ] { Class [ class Swoole\Process ] { - Constants [5] { - Constant [ public integer IPC_NOWAIT ] { 256 } - Constant [ public integer PIPE_MASTER ] { 1 } - Constant [ public integer PIPE_WORKER ] { 2 } - Constant [ public integer PIPE_READ ] { 3 } - Constant [ public integer PIPE_WRITE ] { 4 } + Constant [ public int IPC_NOWAIT ] { 256 } + Constant [ public int PIPE_MASTER ] { 1 } + Constant [ public int PIPE_WORKER ] { 2 } + Constant [ public int PIPE_READ ] { 3 } + Constant [ public int PIPE_WRITE ] { 4 } } - Static properties [0] { @@ -1175,11 +1177,11 @@ Extension [ extension #154 swoole version 4.4.12 ] { - Properties [6] { Property [ public $pipe ] - Property [ public $callback ] Property [ public $msgQueueId ] Property [ public $msgQueueKey ] Property [ public $pid ] Property [ public $id ] + Property [ private $callback ] } - Methods [18] { @@ -1399,9 +1401,9 @@ Extension [ extension #154 swoole version 4.4.12 ] { Class [ class Swoole\Table implements Iterator, Traversable, ArrayAccess, Countable ] { - Constants [3] { - Constant [ public integer TYPE_INT ] { 1 } - Constant [ public integer TYPE_STRING ] { 7 } - Constant [ public integer TYPE_FLOAT ] { 6 } + Constant [ public int TYPE_INT ] { 1 } + Constant [ public int TYPE_STRING ] { 7 } + Constant [ public int TYPE_FLOAT ] { 6 } } - Static properties [0] { @@ -1709,8 +1711,8 @@ Extension [ extension #154 swoole version 4.4.12 ] { Class [ class Swoole\Timer\Iterator extends ArrayIterator implements Countable, Serializable, SeekableIterator, ArrayAccess, Traversable, Iterator ] { - Constants [2] { - Constant [ public integer STD_PROP_LIST ] { 1 } - Constant [ public integer ARRAY_AS_PROPS ] { 2 } + Constant [ public int STD_PROP_LIST ] { 1 } + Constant [ public int ARRAY_AS_PROPS ] { 2 } } - Static properties [0] { @@ -2106,8 +2108,8 @@ Extension [ extension #154 swoole version 4.4.12 ] { Class [ class Swoole\Coroutine\Iterator extends ArrayIterator implements Countable, Serializable, SeekableIterator, ArrayAccess, Traversable, Iterator ] { - Constants [2] { - Constant [ public integer STD_PROP_LIST ] { 1 } - Constant [ public integer ARRAY_AS_PROPS ] { 2 } + Constant [ public int STD_PROP_LIST ] { 1 } + Constant [ public int ARRAY_AS_PROPS ] { 2 } } - Static properties [0] { @@ -2282,8 +2284,8 @@ Extension [ extension #154 swoole version 4.4.12 ] { Class [ class Swoole\Coroutine\Context extends ArrayObject implements Countable, Serializable, ArrayAccess, Traversable, IteratorAggregate ] { - Constants [2] { - Constant [ public integer STD_PROP_LIST ] { 1 } - Constant [ public integer ARRAY_AS_PROPS ] { 2 } + Constant [ public int STD_PROP_LIST ] { 1 } + Constant [ public int ARRAY_AS_PROPS ] { 2 } } - Static properties [0] { @@ -3021,13 +3023,13 @@ Extension [ extension #154 swoole version 4.4.12 ] { Class [ class Swoole\Client ] { - Constants [7] { - Constant [ public integer MSG_OOB ] { 1 } - Constant [ public integer MSG_PEEK ] { 2 } - Constant [ public integer MSG_DONTWAIT ] { 64 } - Constant [ public integer MSG_WAITALL ] { 256 } - Constant [ public integer SHUT_RDWR ] { 2 } - Constant [ public integer SHUT_RD ] { 0 } - Constant [ public integer SHUT_WR ] { 1 } + Constant [ public int MSG_OOB ] { 1 } + Constant [ public int MSG_PEEK ] { 2 } + Constant [ public int MSG_DONTWAIT ] { 64 } + Constant [ public int MSG_WAITALL ] { 256 } + Constant [ public int SHUT_RDWR ] { 2 } + Constant [ public int SHUT_RD ] { 0 } + Constant [ public int SHUT_WR ] { 1 } } - Static properties [0] { @@ -3174,10 +3176,10 @@ Extension [ extension #154 swoole version 4.4.12 ] { Class [ class Swoole\Coroutine\Client ] { - Constants [4] { - Constant [ public integer MSG_OOB ] { 1 } - Constant [ public integer MSG_PEEK ] { 2 } - Constant [ public integer MSG_DONTWAIT ] { 64 } - Constant [ public integer MSG_WAITALL ] { 256 } + Constant [ public int MSG_OOB ] { 1 } + Constant [ public int MSG_PEEK ] { 2 } + Constant [ public int MSG_DONTWAIT ] { 64 } + Constant [ public int MSG_WAITALL ] { 256 } } - Static properties [0] { @@ -3524,7 +3526,7 @@ Extension [ extension #154 swoole version 4.4.12 ] { - Parameters [3] { Parameter #0 [ $data ] Parameter #1 [ $opcode ] - Parameter #2 [ $finish ] + Parameter #2 [ $flags ] } } @@ -6174,7 +6176,10 @@ Extension [ extension #154 swoole version 4.4.12 ] { Method [ public method push ] { - - Parameters [0] { + - Parameters [3] { + Parameter #0 [ $data ] + Parameter #1 [ $opcode ] + Parameter #2 [ $flags ] } } @@ -6633,11 +6638,10 @@ Extension [ extension #154 swoole version 4.4.12 ] { - Static methods [2] { Method [ static public method pack ] { - - Parameters [4] { + - Parameters [3] { Parameter #0 [ $data ] Parameter #1 [ $opcode ] - Parameter #2 [ $finish ] - Parameter #3 [ $mask ] + Parameter #2 [ $flags ] } } @@ -6672,7 +6676,7 @@ Extension [ extension #154 swoole version 4.4.12 ] { Parameter #0 [ $fd ] Parameter #1 [ $data ] Parameter #2 [ $opcode ] - Parameter #3 [ $finish ] + Parameter #3 [ $flags ] } } @@ -7026,11 +7030,10 @@ Extension [ extension #154 swoole version 4.4.12 ] { - Static methods [2] { Method [ static public method pack ] { - - Parameters [4] { + - Parameters [3] { Parameter #0 [ $data ] Parameter #1 [ $opcode ] - Parameter #2 [ $finish ] - Parameter #3 [ $mask ] + Parameter #2 [ $flags ] } } @@ -7070,11 +7073,10 @@ Extension [ extension #154 swoole version 4.4.12 ] { - Static methods [2] { Method [ static public method pack ] { - - Parameters [4] { + - Parameters [3] { Parameter #0 [ $data ] Parameter #1 [ $opcode ] - Parameter #2 [ $finish ] - Parameter #3 [ $mask ] + Parameter #2 [ $flags ] } } @@ -7108,13 +7110,13 @@ Extension [ extension #154 swoole version 4.4.12 ] { Class [ class Swoole\Redis\Server extends Swoole\Server ] { - Constants [7] { - Constant [ public integer NIL ] { 1 } - Constant [ public integer ERROR ] { 0 } - Constant [ public integer STATUS ] { 2 } - Constant [ public integer INT ] { 3 } - Constant [ public integer STRING ] { 4 } - Constant [ public integer SET ] { 5 } - Constant [ public integer MAP ] { 6 } + Constant [ public int NIL ] { 1 } + Constant [ public int ERROR ] { 0 } + Constant [ public int STATUS ] { 2 } + Constant [ public int INT ] { 3 } + Constant [ public int STRING ] { 4 } + Constant [ public int SET ] { 5 } + Constant [ public int MAP ] { 6 } } - Static properties [0] { diff --git a/php-pecl-swoole4.spec b/php-pecl-swoole4.spec index f871837..73ecbe9 100644 --- a/php-pecl-swoole4.spec +++ b/php-pecl-swoole4.spec @@ -27,16 +27,19 @@ %global with_brotli 0 %endif +%global upstream_version 4.4.13 +%global upstream_prever RC1 + Summary: PHP's asynchronous concurrent distributed networking framework Name: %{?sub_prefix}php-pecl-%{pecl_name}4 -Version: 4.4.12 +Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} # Extension is ASL 2.0 # Hiredis is BSD License: ASL 2.0 and BSD -URL: http://pecl.php.net/package/%{pecl_name} -Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz +URL: http://pecl.php.net/package/%{pecl_name} +Source0: http://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz %if 0%{?rhel} == 6 BuildRequires: devtoolset-6-toolchain @@ -148,7 +151,7 @@ These are the files needed to compile programs using %{name}. %prep %setup -q -c -mv %{pecl_name}-%{version} NTS +mv %{pecl_name}-%{upstream_version}%{?upstream_prever} NTS # Don't install/register tests, install examples as doc @@ -164,8 +167,8 @@ sed \ cd NTS # Sanity check, really often broken extver=$(sed -n '/#define SWOOLE_VERSION /{s/.* "//;s/".*$//;p}' include/swoole.h) -if test "x${extver}" != "x%{version}%{?prever:-%{prever}}"; then - : Error: Upstream extension version is ${extver}, expecting %{version}%{?prever:-%{prever}}. +if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}"; then + : Error: Upstream extension version is ${extver}, expecting %{upstream_version}%{?upstream_prever}. exit 1 fi cd .. @@ -181,13 +184,12 @@ cat << 'EOF' | tee %{ini_name} extension=%{pecl_name}.so ; Configuration -;swoole.display_errors = On ;swoole.enable_coroutine = On ;swoole.enable_library = On ;swoole.enable_preemptive_scheduler = Off -;swoole.fast_serialize = Off -;swoole.unixsock_buffer_size = 8388608 +;swoole.display_errors = On :swoole.use_shortname = On +;swoole.unixsock_buffer_size = 8388608 EOF @@ -332,6 +334,9 @@ cd ../ZTS %changelog +* Thu Dec 5 2019 Remi Collet - 4.4.13~RC1-1 +- update to 4.4.13RC1 + * Mon Nov 4 2019 Remi Collet - 4.4.12-1 - update to 4.4.12 -- cgit