From 2461185588291077fef81f6a81868a0f21f40574 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 28 Dec 2018 12:12:06 +0100 Subject: v4.2.11 --- PHPINFO | 2 +- REFLECTION | 709 +++++++++++++++++++++++++------------------------- php-pecl-swoole4.spec | 6 +- 3 files changed, 366 insertions(+), 351 deletions(-) diff --git a/PHPINFO b/PHPINFO index 94c7d43..4d16042 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,7 +2,7 @@ swoole swoole support => enabled -Version => 4.2.10 +Version => 4.2.11 Author => Swoole Group[email: team@swoole.com] coroutine => enabled trace_log => enabled diff --git a/REFLECTION b/REFLECTION index 184664b..e6957bd 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #149 swoole version 4.2.10 ] { +Extension [ extension #149 swoole version 4.2.11 ] { - INI { Entry [ swoole.enable_coroutine ] @@ -21,7 +21,14 @@ Extension [ extension #149 swoole version 4.2.10 ] { } } - - Constants [247] { + - Constants [253] { + Constant [ string SWOOLE_VERSION ] { 4.2.11 } + Constant [ integer SWOOLE_VERSION_ID ] { 40211 } + Constant [ integer SWOOLE_MAJOR_VERSION ] { 4 } + Constant [ integer SWOOLE_MINOR_VERSION ] { 2 } + Constant [ integer SWOOLE_RELEASE_VERSION ] { 11 } + Constant [ string SWOOLE_EXTRA_VERSION ] { } + Constant [ boolean SWOOLE_DEBUG ] { } Constant [ integer SWOOLE_BASE ] { 1 } Constant [ integer SWOOLE_PROCESS ] { 2 } Constant [ integer SWOOLE_IPC_UNSOCK ] { 1 } @@ -65,7 +72,6 @@ Extension [ extension #149 swoole version 4.2.10 ] { Constant [ integer SWOOLE_DTLSv1_CLIENT_METHOD ] { 17 } Constant [ integer SWOOLE_EVENT_READ ] { 512 } Constant [ integer SWOOLE_EVENT_WRITE ] { 1024 } - Constant [ string SWOOLE_VERSION ] { 4.2.10 } Constant [ integer SWOOLE_ERROR_MALLOC_FAIL ] { 501 } Constant [ integer SWOOLE_ERROR_SYSTEM_CALL_FAIL ] { 502 } Constant [ integer SWOOLE_ERROR_PHP_FATAL_ERROR ] { 503 } @@ -525,13 +531,18 @@ Extension [ extension #149 swoole version 4.2.10 ] { } Function [ function swoole_call_user_shutdown_begin ] { + - Parameters [0] { + } + } + Function [ function swoole_clear_dns_cache ] { + - Parameters [0] { } } } - Classes [51] { - Class [ class Swoole\Server ] { + Class [ class Swoole\Timer ] { - Constants [0] { } @@ -539,562 +550,619 @@ Extension [ extension #149 swoole version 4.2.10 ] { - Static properties [0] { } - - Static methods [0] { - } - - - Properties [29] { - Property [ private $onConnect ] - Property [ private $onReceive ] - Property [ private $onClose ] - Property [ private $onPacket ] - Property [ private $onBufferFull ] - Property [ private $onBufferEmpty ] - Property [ private $onStart ] - Property [ private $onShutdown ] - Property [ private $onWorkerStart ] - Property [ private $onWorkerStop ] - Property [ private $onWorkerExit ] - Property [ private $onWorkerError ] - Property [ private $onTask ] - Property [ private $onFinish ] - Property [ private $onManagerStart ] - Property [ private $onManagerStop ] - Property [ private $onPipeMessage ] - Property [ public $setting ] - Property [ public $connections ] - Property [ public $host ] - Property [ public $port ] - Property [ public $type ] - Property [ public $mode ] - Property [ public $ports ] - Property [ public $master_pid ] - Property [ public $manager_pid ] - Property [ public $worker_id ] - Property [ public $taskworker ] - Property [ public $worker_pid ] - } - - - Methods [40] { - Method [ public method __construct ] { + - Static methods [4] { + Method [ static public method tick ] { - - Parameters [4] { - Parameter #0 [ $host ] - Parameter #1 [ $port ] - Parameter #2 [ $mode ] - Parameter #3 [ $sock_type ] + - Parameters [2] { + Parameter #0 [ $ms ] + Parameter #1 [ $callback ] } } - Method [ public method __destruct ] { + Method [ static public method after ] { - - Parameters [0] { + - Parameters [3] { + Parameter #0 [ $ms ] + Parameter #1 [ $callback ] + Parameter #2 [ $param ] } } - Method [ public method listen ] { + Method [ static public method exists ] { - - Parameters [3] { - Parameter #0 [ $host ] - Parameter #1 [ $port ] - Parameter #2 [ $sock_type ] + - Parameters [1] { + Parameter #0 [ $timer_id ] } } - Method [ public method addlistener ] { + Method [ static public method clear ] { - - Parameters [3] { - Parameter #0 [ $host ] - Parameter #1 [ $port ] - Parameter #2 [ $sock_type ] + - Parameters [1] { + Parameter #0 [ $timer_id ] } } + } - Method [ public method on ] { + - Properties [0] { + } - - Parameters [2] { - Parameter #0 [ $event_name ] - Parameter #1 [ $callback ] - } - } + - Methods [0] { + } + } - Method [ public method set ] { + Class [ class Swoole\Event ] { - - Parameters [1] { - Parameter #0 [ array $settings ] - } - } + - Constants [0] { + } - Method [ public method start ] { + - Static properties [0] { + } - - Parameters [0] { + - Static methods [8] { + Method [ static public method add ] { + + - Parameters [4] { + Parameter #0 [ $fd ] + Parameter #1 [ $read_callback ] + Parameter #2 [ $write_callback ] + Parameter #3 [ $events ] } } - Method [ public method send ] { + Method [ static public method del ] { - - Parameters [3] { + - Parameters [1] { Parameter #0 [ $fd ] - Parameter #1 [ $send_data ] - Parameter #2 [ $server_socket ] } } - Method [ public method sendto ] { + Method [ static public method set ] { - Parameters [4] { - Parameter #0 [ $ip ] - Parameter #1 [ $port ] - Parameter #2 [ $send_data ] - Parameter #3 [ $server_socket ] + Parameter #0 [ $fd ] + Parameter #1 [ $read_callback ] + Parameter #2 [ $write_callback ] + Parameter #3 [ $events ] } } - Method [ public method sendwait ] { + Method [ static public method exit ] { - - Parameters [2] { - Parameter #0 [ $conn_fd ] - Parameter #1 [ $send_data ] + - Parameters [0] { } } - Method [ public method exist ] { + Method [ static public method write ] { - - Parameters [1] { + - Parameters [2] { Parameter #0 [ $fd ] + Parameter #1 [ $data ] } } - Method [ public method protect ] { + Method [ static public method wait ] { - - Parameters [2] { - Parameter #0 [ $fd ] - Parameter #1 [ $is_protected ] + - Parameters [0] { } } - Method [ public method sendfile ] { + Method [ static public method defer ] { - - Parameters [4] { - Parameter #0 [ $conn_fd ] - Parameter #1 [ $filename ] - Parameter #2 [ $offset ] - Parameter #3 [ $length ] + - Parameters [1] { + Parameter #0 [ $callback ] } } - Method [ public method close ] { + Method [ static public method cycle ] { - Parameters [2] { - Parameter #0 [ $fd ] - Parameter #1 [ $reset ] + Parameter #0 [ $callback ] + Parameter #1 [ $before ] } } + } - Method [ public method confirm ] { + - Properties [0] { + } - - Parameters [1] { - Parameter #0 [ $fd ] - } - } + - Methods [0] { + } + } - Method [ public method pause ] { + Class [ class Swoole\Async ] { - - Parameters [1] { - Parameter #0 [ $fd ] + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [8] { + Method [ static public method read ] { + + - Parameters [4] { + Parameter #0 [ $filename ] + Parameter #1 [ $callback ] + Parameter #2 [ $chunk_size ] + Parameter #3 [ $offset ] } } - Method [ public method resume ] { + Method [ static public method write ] { - - Parameters [1] { - Parameter #0 [ $fd ] + - Parameters [4] { + Parameter #0 [ $filename ] + Parameter #1 [ $content ] + Parameter #2 [ $offset ] + Parameter #3 [ $callback ] } } - Method [ public method task ] { + Method [ static public method readFile ] { - - Parameters [3] { - Parameter #0 [ $data ] - Parameter #1 [ $worker_id ] - Parameter #2 [ $finish_callback ] + - Parameters [2] { + Parameter #0 [ $filename ] + Parameter #1 [ $callback ] } } - Method [ public method taskwait ] { + Method [ static public method writeFile ] { - - Parameters [3] { - Parameter #0 [ $data ] - Parameter #1 [ $timeout ] - Parameter #2 [ $worker_id ] + - Parameters [4] { + Parameter #0 [ $filename ] + Parameter #1 [ $content ] + Parameter #2 [ $callback ] + Parameter #3 [ $flags ] } } - Method [ public method taskWaitMulti ] { + Method [ static public method dnsLookup ] { - Parameters [2] { - Parameter #0 [ array $tasks ] - Parameter #1 [ $timeout ] + Parameter #0 [ $hostname ] + Parameter #1 [ $callback ] } } - Method [ public method taskCo ] { + Method [ static public method dnsLookupCoro ] { - Parameters [2] { - Parameter #0 [ array $tasks ] + Parameter #0 [ $domain_name ] Parameter #1 [ $timeout ] } } - Method [ public method finish ] { + Method [ static public method set ] { - Parameters [1] { - Parameter #0 [ $data ] + Parameter #0 [ array $settings ] } } - Method [ public method reload ] { + Method [ static public method exec ] { - - Parameters [0] { + - Parameters [2] { + Parameter #0 [ $command ] + Parameter #1 [ $callback ] } } + } - Method [ public method shutdown ] { + - Properties [0] { + } - - Parameters [0] { + - Methods [0] { + } + } + + Class [ class Swoole\Exception extends Exception implements Throwable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] } } - Method [ public method stop ] { + Method [ public method __wakeup ] { + } - - Parameters [1] { - Parameter #0 [ $worker_id ] - } + Method [ final public method getMessage ] { } - Method [ public method getLastError ] { + Method [ final public method getCode ] { + } - - Parameters [0] { - } + Method [ final public method getFile ] { } - Method [ public method heartbeat ] { + Method [ final public method getLine ] { + } - - Parameters [1] { - Parameter #0 [ $reactor_id ] - } + Method [ final public method getTrace ] { } - Method [ public method connection_info ] { + Method [ final public method getPrevious ] { + } - - Parameters [2] { - Parameter #0 [ $fd ] - Parameter #1 [ $reactor_id ] - } + Method [ final public method getTraceAsString ] { } - Method [ public method connection_list ] { + Method [ public method __toString ] { + } + } + } - - Parameters [2] { - Parameter #0 [ $start_fd ] - Parameter #1 [ $find_count ] + Class [ class Swoole\Server ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [29] { + Property [ private $onConnect ] + Property [ private $onReceive ] + Property [ private $onClose ] + Property [ private $onPacket ] + Property [ private $onBufferFull ] + Property [ private $onBufferEmpty ] + Property [ private $onStart ] + Property [ private $onShutdown ] + Property [ private $onWorkerStart ] + Property [ private $onWorkerStop ] + Property [ private $onWorkerExit ] + Property [ private $onWorkerError ] + Property [ private $onTask ] + Property [ private $onFinish ] + Property [ private $onManagerStart ] + Property [ private $onManagerStop ] + Property [ private $onPipeMessage ] + Property [ public $setting ] + Property [ public $connections ] + Property [ public $host ] + Property [ public $port ] + Property [ public $type ] + Property [ public $mode ] + Property [ public $ports ] + Property [ public $master_pid ] + Property [ public $manager_pid ] + Property [ public $worker_id ] + Property [ public $taskworker ] + Property [ public $worker_pid ] + } + + - Methods [40] { + Method [ public method __construct ] { + + - Parameters [4] { + Parameter #0 [ $host ] + Parameter #1 [ $port ] + Parameter #2 [ $mode ] + Parameter #3 [ $sock_type ] } } - Method [ public method getClientInfo ] { + Method [ public method __destruct ] { - - Parameters [2] { - Parameter #0 [ $fd ] - Parameter #1 [ $reactor_id ] + - Parameters [0] { } } - Method [ public method getClientList ] { + Method [ public method listen ] { - - Parameters [2] { - Parameter #0 [ $start_fd ] - Parameter #1 [ $find_count ] + - Parameters [3] { + Parameter #0 [ $host ] + Parameter #1 [ $port ] + Parameter #2 [ $sock_type ] } } - Method [ public method after ] { + Method [ public method addlistener ] { - Parameters [3] { - Parameter #0 [ $ms ] - Parameter #1 [ $callback ] - Parameter #2 [ $param ] + Parameter #0 [ $host ] + Parameter #1 [ $port ] + Parameter #2 [ $sock_type ] } } - Method [ public method tick ] { + Method [ public method on ] { - Parameters [2] { - Parameter #0 [ $ms ] + Parameter #0 [ $event_name ] Parameter #1 [ $callback ] } } - Method [ public method clearTimer ] { + Method [ public method set ] { - Parameters [1] { - Parameter #0 [ $timer_id ] + Parameter #0 [ array $settings ] } } - Method [ public method defer ] { + Method [ public method start ] { - - Parameters [1] { - Parameter #0 [ $callback ] + - Parameters [0] { } } - Method [ public method sendMessage ] { + Method [ public method send ] { - - Parameters [2] { - Parameter #0 [ $message ] - Parameter #1 [ $dst_worker_id ] + - Parameters [3] { + Parameter #0 [ $fd ] + Parameter #1 [ $send_data ] + Parameter #2 [ $server_socket ] } } - Method [ public method addProcess ] { + Method [ public method sendto ] { - - Parameters [1] { - Parameter #0 [ swoole_process $process ] + - Parameters [4] { + Parameter #0 [ $ip ] + Parameter #1 [ $port ] + Parameter #2 [ $send_data ] + Parameter #3 [ $server_socket ] } } - Method [ public method stats ] { + Method [ public method sendwait ] { - - Parameters [0] { + - Parameters [2] { + Parameter #0 [ $conn_fd ] + Parameter #1 [ $send_data ] } } - Method [ public method getSocket ] { + Method [ public method exist ] { - Parameters [1] { - Parameter #0 [ $port ] + Parameter #0 [ $fd ] } } - Method [ public method bind ] { + Method [ public method protect ] { - Parameters [2] { Parameter #0 [ $fd ] - Parameter #1 [ $uid ] + Parameter #1 [ $is_protected ] } } - } - } - Class [ class Swoole\Timer ] { - - - Constants [0] { - } + Method [ public method sendfile ] { - - Static properties [0] { - } + - Parameters [4] { + Parameter #0 [ $conn_fd ] + Parameter #1 [ $filename ] + Parameter #2 [ $offset ] + Parameter #3 [ $length ] + } + } - - Static methods [4] { - Method [ static public method tick ] { + Method [ public method close ] { - Parameters [2] { - Parameter #0 [ $ms ] - Parameter #1 [ $callback ] + Parameter #0 [ $fd ] + Parameter #1 [ $reset ] } } - Method [ static public method after ] { + Method [ public method confirm ] { - - Parameters [3] { - Parameter #0 [ $ms ] - Parameter #1 [ $callback ] - Parameter #2 [ $param ] + - Parameters [1] { + Parameter #0 [ $fd ] } } - Method [ static public method exists ] { + Method [ public method pause ] { - Parameters [1] { - Parameter #0 [ $timer_id ] + Parameter #0 [ $fd ] } } - Method [ static public method clear ] { + Method [ public method resume ] { - Parameters [1] { - Parameter #0 [ $timer_id ] + Parameter #0 [ $fd ] } } - } - - Properties [0] { - } + Method [ public method task ] { - - Methods [0] { - } - } + - Parameters [3] { + Parameter #0 [ $data ] + Parameter #1 [ $worker_id ] + Parameter #2 [ $finish_callback ] + } + } - Class [ class Swoole\Event ] { + Method [ public method taskwait ] { - - Constants [0] { - } + - Parameters [3] { + Parameter #0 [ $data ] + Parameter #1 [ $timeout ] + Parameter #2 [ $worker_id ] + } + } - - Static properties [0] { - } + Method [ public method taskWaitMulti ] { - - Static methods [8] { - Method [ static public method add ] { + - Parameters [2] { + Parameter #0 [ array $tasks ] + Parameter #1 [ $timeout ] + } + } - - Parameters [4] { - Parameter #0 [ $fd ] - Parameter #1 [ $read_callback ] - Parameter #2 [ $write_callback ] - Parameter #3 [ $events ] + Method [ public method taskCo ] { + + - Parameters [2] { + Parameter #0 [ array $tasks ] + Parameter #1 [ $timeout ] } } - Method [ static public method del ] { + Method [ public method finish ] { - Parameters [1] { - Parameter #0 [ $fd ] + Parameter #0 [ $data ] } } - Method [ static public method set ] { + Method [ public method reload ] { - - Parameters [4] { - Parameter #0 [ $fd ] - Parameter #1 [ $read_callback ] - Parameter #2 [ $write_callback ] - Parameter #3 [ $events ] + - Parameters [0] { } } - Method [ static public method exit ] { + Method [ public method shutdown ] { - Parameters [0] { } } - Method [ static public method write ] { + Method [ public method stop ] { - - Parameters [2] { - Parameter #0 [ $fd ] - Parameter #1 [ $data ] + - Parameters [1] { + Parameter #0 [ $worker_id ] } } - Method [ static public method wait ] { + Method [ public method getLastError ] { - Parameters [0] { } } - Method [ static public method defer ] { + Method [ public method heartbeat ] { - Parameters [1] { - Parameter #0 [ $callback ] + Parameter #0 [ $reactor_id ] } } - Method [ static public method cycle ] { + Method [ public method connection_info ] { - Parameters [2] { - Parameter #0 [ $callback ] - Parameter #1 [ $before ] + Parameter #0 [ $fd ] + Parameter #1 [ $reactor_id ] } } - } - - - Properties [0] { - } - - Methods [0] { - } - } + Method [ public method connection_list ] { - Class [ class Swoole\Async ] { + - Parameters [2] { + Parameter #0 [ $start_fd ] + Parameter #1 [ $find_count ] + } + } - - Constants [0] { - } + Method [ public method getClientInfo ] { - - Static properties [0] { - } + - Parameters [2] { + Parameter #0 [ $fd ] + Parameter #1 [ $reactor_id ] + } + } - - Static methods [8] { - Method [ static public method read ] { + Method [ public method getClientList ] { - - Parameters [4] { - Parameter #0 [ $filename ] - Parameter #1 [ $callback ] - Parameter #2 [ $chunk_size ] - Parameter #3 [ $offset ] + - Parameters [2] { + Parameter #0 [ $start_fd ] + Parameter #1 [ $find_count ] } } - Method [ static public method write ] { + Method [ public method after ] { - - Parameters [4] { - Parameter #0 [ $filename ] - Parameter #1 [ $content ] - Parameter #2 [ $offset ] - Parameter #3 [ $callback ] + - Parameters [3] { + Parameter #0 [ $ms ] + Parameter #1 [ $callback ] + Parameter #2 [ $param ] } } - Method [ static public method readFile ] { + Method [ public method tick ] { - Parameters [2] { - Parameter #0 [ $filename ] + Parameter #0 [ $ms ] Parameter #1 [ $callback ] } } - Method [ static public method writeFile ] { + Method [ public method clearTimer ] { - - Parameters [4] { - Parameter #0 [ $filename ] - Parameter #1 [ $content ] - Parameter #2 [ $callback ] - Parameter #3 [ $flags ] + - Parameters [1] { + Parameter #0 [ $timer_id ] } } - Method [ static public method dnsLookup ] { + Method [ public method defer ] { - - Parameters [2] { - Parameter #0 [ $hostname ] - Parameter #1 [ $callback ] + - Parameters [1] { + Parameter #0 [ $callback ] } } - Method [ static public method dnsLookupCoro ] { + Method [ public method sendMessage ] { - Parameters [2] { - Parameter #0 [ $domain_name ] - Parameter #1 [ $timeout ] + Parameter #0 [ $message ] + Parameter #1 [ $dst_worker_id ] } } - Method [ static public method set ] { + Method [ public method addProcess ] { - Parameters [1] { - Parameter #0 [ array $settings ] + Parameter #0 [ swoole_process $process ] } } - Method [ static public method exec ] { + Method [ public method stats ] { - - Parameters [2] { - Parameter #0 [ $command ] - Parameter #1 [ $callback ] + - Parameters [0] { } } - } - - Properties [0] { - } + Method [ public method getSocket ] { - - Methods [0] { + - Parameters [1] { + Parameter #0 [ $port ] + } + } + + Method [ public method bind ] { + + - Parameters [2] { + Parameter #0 [ $fd ] + Parameter #1 [ $uid ] + } + } } } @@ -1186,63 +1254,6 @@ Extension [ extension #149 swoole version 4.2.10 ] { } } - Class [ class Swoole\Exception extends Exception implements Throwable ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [4] { - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $file ] - Property [ protected $line ] - } - - - Methods [10] { - Method [ public method __construct ] { - - - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] - } - } - - Method [ public method __wakeup ] { - } - - Method [ final public method getMessage ] { - } - - Method [ final public method getCode ] { - } - - Method [ final public method getFile ] { - } - - Method [ final public method getLine ] { - } - - Method [ final public method getTrace ] { - } - - Method [ final public method getPrevious ] { - } - - Method [ final public method getTraceAsString ] { - } - - Method [ public method __toString ] { - } - } - } - Class [ class Swoole\Server\Port ] { - Constants [0] { @@ -1529,7 +1540,7 @@ Extension [ extension #149 swoole version 4.2.10 ] { - Parameters [3] { Parameter #0 [ $domain ] Parameter #1 [ $type ] - Parameter #2 [ $protocol ] + Parameter #2 [ $protocol ] } } diff --git a/php-pecl-swoole4.spec b/php-pecl-swoole4.spec index 0249ad6..13faaa0 100644 --- a/php-pecl-swoole4.spec +++ b/php-pecl-swoole4.spec @@ -35,7 +35,7 @@ Summary: PHP's asynchronous concurrent distributed networking framework Name: %{?sub_prefix}php-pecl-%{pecl_name}4 -Version: 4.2.10 +Version: 4.2.11 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} # Extension is ASL 2.0 # Hiredis is BSD @@ -68,6 +68,7 @@ BuildRequires: postgresql-devel > 9.5 %if %{with_brotli} BuildRequires: brotli-devel %endif +BuildRequires: c-ares-devel Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} @@ -341,6 +342,9 @@ cd ../ZTS %changelog +* Fri Dec 28 2018 Remi Collet - 4.2.11-1 +- update to 4.2.11 + * Thu Dec 20 2018 Remi Collet - 4.2.10-1 - update to 4.2.10 -- cgit