From 893b8eba991c0225cafe2d1eb674e1eb758739a0 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 14 Jun 2018 11:53:59 +0200 Subject: update to 4.0.0 rename to php-pecl-swoole4 raise dependency on PHP 7.1 add patch to ensure g++ is used a linktime from https://github.com/swoole/swoole-src/pull/1717 --- REFLECTION | 151 +++++++++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 121 insertions(+), 30 deletions(-) (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION index 8fa194d..e411967 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #147 swoole version 2.2.0 ] { +Extension [ extension #147 swoole version 4.0.0 ] { - INI { Entry [ swoole.aio_thread_num ] @@ -66,7 +66,7 @@ Extension [ extension #147 swoole version 2.2.0 ] { Constant [ integer SWOOLE_DTLSv1_CLIENT_METHOD ] { 17 } Constant [ integer SWOOLE_EVENT_READ ] { 512 } Constant [ integer SWOOLE_EVENT_WRITE ] { 1024 } - Constant [ string SWOOLE_VERSION ] { 2.2.0 } + Constant [ string SWOOLE_VERSION ] { 4.0.0 } Constant [ integer SWOOLE_ERROR_MALLOC_FAIL ] { 501 } Constant [ integer SWOOLE_ERROR_SYSTEM_CALL_FAIL ] { 502 } Constant [ integer SWOOLE_ERROR_PHP_FATAL_ERROR ] { 503 } @@ -157,7 +157,7 @@ Extension [ extension #147 swoole version 2.2.0 ] { Constant [ integer SW_PGSQL_NUM ] { 2 } Constant [ integer SW_PGSQL_BOTH ] { 3 } Constant [ integer SWOOLE_AIO_BASE ] { 0 } - Constant [ integer SWOOLE_AIO_LINUX ] { 1 } + Constant [ integer SWOOLE_AIO_LINUX ] { 0 } Constant [ integer SWOOLE_FILELOCK ] { 2 } Constant [ integer SWOOLE_MUTEX ] { 3 } Constant [ integer SWOOLE_SEM ] { 4 } @@ -408,9 +408,14 @@ Extension [ extension #147 swoole version 2.2.0 ] { Parameter #1 [ $type ] } } + Function [ function swoole_call_user_shutdown_begin ] { + + - Parameters [0] { + } + } } - - Classes [46] { + - Classes [48] { Class [ class Swoole\Server ] { - Constants [0] { @@ -2691,7 +2696,7 @@ Extension [ extension #147 swoole version 2.2.0 ] { Property [ public $errno ] } - - Methods [4] { + - Methods [7] { Method [ public method execute ] { - Parameters [2] { @@ -2700,6 +2705,24 @@ Extension [ extension #147 swoole version 2.2.0 ] { } } + Method [ public method fetch ] { + + - Parameters [0] { + } + } + + Method [ public method fetchAll ] { + + - Parameters [0] { + } + } + + Method [ public method nextResult ] { + + - Parameters [0] { + } + } + Method [ public method __destruct ] { - Parameters [0] { @@ -2960,7 +2983,7 @@ Extension [ extension #147 swoole version 2.2.0 ] { - Static properties [0] { } - - Static methods [17] { + - Static methods [14] { Method [ static public method create ] { - Parameters [1] { @@ -2982,16 +3005,9 @@ Extension [ extension #147 swoole version 2.2.0 ] { } } - Method [ static public method cli_wait ] { - - - Parameters [0] { - } - } - Method [ static public method suspend ] { - - Parameters [1] { - Parameter #0 [ $uid ] + - Parameters [0] { } } @@ -3073,21 +3089,6 @@ Extension [ extension #147 swoole version 2.2.0 ] { Parameter #4 [ $service ] } } - - Method [ static public method call_user_func ] { - - - Parameters [1] { - Parameter #0 [ $func ] - } - } - - Method [ static public method call_user_func_array ] { - - - Parameters [2] { - Parameter #0 [ $func ] - Parameter #1 [ array $params ] - } - } } - Properties [0] { @@ -5230,7 +5231,7 @@ Extension [ extension #147 swoole version 2.2.0 ] { - Properties [0] { } - - Methods [5] { + - Methods [6] { Method [ public method __construct ] { - Parameters [1] { @@ -5257,6 +5258,12 @@ Extension [ extension #147 swoole version 2.2.0 ] { } } + Method [ public method peek ] { + + - Parameters [0] { + } + } + Method [ public method stats ] { - Parameters [0] { @@ -5858,6 +5865,90 @@ Extension [ extension #147 swoole version 2.2.0 ] { } } + Class [ class Swoole\Memory\Pool ] { + + - Constants [5] { + Constant [ public integer TYPE_RING ] { 1 } + Constant [ public integer TYPE_GLOBAL ] { 2 } + Constant [ public integer TYPE_FIXED ] { 0 } + Constant [ public integer TYPE_MALLOC ] { 3 } + Constant [ public integer TYPE_EMALLOC ] { 4 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [3] { + Method [ public method __construct ] { + + - Parameters [4] { + Parameter #0 [ $size ] + Parameter #1 [ $type ] + Parameter #2 [ $slice_size ] + Parameter #3 [ $shared ] + } + } + + Method [ public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ public method alloc ] { + + - Parameters [1] { + Parameter #0 [ $size ] + } + } + } + } + + Class [ class Swoole\Memory\Pool\Slice ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [3] { + Method [ public method read ] { + + - Parameters [2] { + Parameter #0 [ $size ] + Parameter #1 [ $offset ] + } + } + + Method [ public method write ] { + + - Parameters [2] { + Parameter #0 [ $data ] + Parameter #1 [ $offset ] + } + } + + Method [ public method __destruct ] { + + - Parameters [0] { + } + } + } + } + Class [ class Swoole\Redis ] { - Constants [5] { -- cgit