diff options
author | Remi Collet <remi@remirepo.net> | 2018-04-10 14:55:07 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-04-10 14:55:07 +0200 |
commit | 2571d24490337443b4c9e138a3ee2337afdaa0dc (patch) | |
tree | f7370c0a67bb98d570ea03b2a0449a5bc727ecbf /REFLECTION | |
parent | f05f3d190247ff38ce226e02c8a1e4603e2a79d4 (diff) |
update to 2.1.2
add PostgreSQL coroutine client on Fedora 24+
enable trace log
open https://github.com/swoole/swoole-src/issues/1558 broken build with PHP 7.0
Diffstat (limited to 'REFLECTION')
-rw-r--r-- | REFLECTION | 380 |
1 files changed, 352 insertions, 28 deletions
@@ -1,4 +1,4 @@ -Extension [ <persistent> extension #144 swoole version 2.1.1 ] { +Extension [ <persistent> extension #147 swoole version 2.1.2 ] { - INI { Entry [ swoole.aio_thread_num <ALL> ] @@ -21,7 +21,7 @@ Extension [ <persistent> extension #144 swoole version 2.1.1 ] { } } - - Constants [121] { + - Constants [151] { Constant [ integer SWOOLE_BASE ] { 4 } Constant [ integer SWOOLE_THREAD ] { 2 } Constant [ integer SWOOLE_PROCESS ] { 3 } @@ -66,7 +66,7 @@ Extension [ <persistent> extension #144 swoole version 2.1.1 ] { Constant [ integer SWOOLE_DTLSv1_CLIENT_METHOD ] { 17 } Constant [ integer SWOOLE_EVENT_READ ] { 512 } Constant [ integer SWOOLE_EVENT_WRITE ] { 1024 } - Constant [ string SWOOLE_VERSION ] { 2.1.1 } + Constant [ string SWOOLE_VERSION ] { 2.1.2 } Constant [ integer SWOOLE_ERROR_MALLOC_FAIL ] { 501 } Constant [ integer SWOOLE_ERROR_SYSTEM_CALL_FAIL ] { 502 } Constant [ integer SWOOLE_ERROR_PHP_FATAL_ERROR ] { 503 } @@ -118,6 +118,33 @@ Extension [ <persistent> extension #144 swoole version 2.1.1 ] { Constant [ integer SWOOLE_ERROR_SERVER_NO_IDLE_WORKER ] { 9007 } Constant [ integer SWOOLE_ERROR_SERVER_ONLY_START_ONE ] { 9008 } Constant [ integer SWOOLE_ERROR_SERVER_WORKER_EXIT_TIMEOUT ] { 9009 } + 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_HTTP2 ] { 1024 } + Constant [ integer SWOOLE_TRACE_EOF_PROTOCOL ] { 2048 } + Constant [ integer SWOOLE_TRACE_LENGTH_PROTOCOL ] { 4096 } + Constant [ integer SWOOLE_TRACE_CLOSE ] { 8192 } + Constant [ integer SWOOLE_TRACE_HTTP_CLIENT ] { 16384 } + Constant [ integer SWOOLE_TRACE_COROUTINE ] { 32768 } + Constant [ integer SWOOLE_TRACE_REDIS_CLIENT ] { 65536 } + Constant [ integer SWOOLE_TRACE_MYSQL_CLIENT ] { 131072 } + Constant [ integer SWOOLE_TRACE_AIO ] { 262144 } + 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_IPC_NONE ] { 0 } + Constant [ integer SWOOLE_IPC_UNIXSOCK ] { 1 } + Constant [ integer SWOOLE_IPC_SOCKET ] { 3 } Constant [ integer SWOOLE_REDIS_MODE_MULTI ] { 0 } Constant [ integer SWOOLE_REDIS_MODE_PIPELINE ] { 1 } Constant [ integer SWOOLE_REDIS_TYPE_NOT_FOUND ] { 0 } @@ -126,6 +153,9 @@ Extension [ <persistent> extension #144 swoole version 2.1.1 ] { Constant [ integer SWOOLE_REDIS_TYPE_LIST ] { 3 } Constant [ integer SWOOLE_REDIS_TYPE_ZSET ] { 4 } Constant [ integer SWOOLE_REDIS_TYPE_HASH ] { 5 } + Constant [ integer SW_PGSQL_ASSOC ] { 1 } + 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_FILELOCK ] { 2 } @@ -210,8 +240,21 @@ Extension [ <persistent> extension #144 swoole version 2.1.1 ] { } Function [ <internal:swoole> function swoole_event_cycle ] { - - Parameters [1] { + - Parameters [2] { Parameter #0 [ <required> $callback ] + Parameter #1 [ <optional> $before ] + } + } + Function [ <internal:swoole> function swoole_event_dispatch ] { + + - Parameters [0] { + } + } + Function [ <internal:swoole> function swoole_event_isset ] { + + - Parameters [2] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <optional> $events ] } } Function [ <internal:swoole> function swoole_timer_after ] { @@ -367,7 +410,7 @@ Extension [ <persistent> extension #144 swoole version 2.1.1 ] { } } - - Classes [41] { + - Classes [44] { Class [ <internal:swoole> class Swoole\Server ] { - Constants [0] { @@ -687,8 +730,8 @@ Extension [ <persistent> extension #144 swoole version 2.1.1 ] { Method [ <internal:swoole> public method sendMessage ] { - Parameters [2] { - Parameter #0 [ <required> $dst_worker_id ] - Parameter #1 [ <required> $data ] + Parameter #0 [ <required> $message ] + Parameter #1 [ <required> $dst_worker_id ] } } @@ -841,8 +884,9 @@ Extension [ <persistent> extension #144 swoole version 2.1.1 ] { Method [ <internal:swoole> static public method cycle ] { - - Parameters [1] { + - Parameters [2] { Parameter #0 [ <required> $callback ] + Parameter #1 [ <optional> $before ] } } } @@ -1370,11 +1414,15 @@ Extension [ <persistent> extension #144 swoole version 2.1.1 ] { - Static methods [0] { } - - Properties [4] { + - Properties [8] { Property [ <default> public $errCode ] Property [ <default> public $sock ] + Property [ <default> public $reuse ] + Property [ <default> public $reuseCount ] Property [ <default> public $type ] + Property [ <default> public $id ] Property [ <default> public $setting ] + Property [ <default> public $connected ] } - Methods [19] { @@ -1409,7 +1457,8 @@ Extension [ <persistent> extension #144 swoole version 2.1.1 ] { Method [ <internal:swoole> public method recv ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <optional> $timeout ] } } @@ -1523,7 +1572,7 @@ Extension [ <persistent> extension #144 swoole version 2.1.1 ] { Property [ <default> public $errMsg ] } - - Methods [153] { + - Methods [154] { Method [ <internal:swoole, ctor> public method __construct ] { - Parameters [1] { @@ -1555,6 +1604,13 @@ Extension [ <persistent> extension #144 swoole version 2.1.1 ] { Method [ <internal:swoole> public method recv ] { } + Method [ <internal:swoole> public method request ] { + + - Parameters [1] { + Parameter #0 [ <required> array $params ] + } + } + Method [ <internal:swoole> public method close ] { } @@ -2220,6 +2276,115 @@ Extension [ <persistent> extension #144 swoole version 2.1.1 ] { } } + Class [ <internal:swoole> class Swoole\Coroutine\PostgreSQL ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [12] { + Method [ <internal:swoole, ctor> public method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method connect ] { + + - Parameters [1] { + Parameter #0 [ <required> $conninfo ] + } + } + + Method [ <internal:swoole> public method query ] { + + - Parameters [1] { + Parameter #0 [ <optional> $query ] + } + } + + Method [ <internal:swoole> public method fetchAll ] { + + - Parameters [2] { + Parameter #0 [ <optional> $result ] + Parameter #1 [ <optional> $result_type ] + } + } + + Method [ <internal:swoole> public method affectedRows ] { + + - Parameters [1] { + Parameter #0 [ <optional> $result ] + } + } + + Method [ <internal:swoole> public method numRows ] { + + - Parameters [1] { + Parameter #0 [ <optional> $result ] + } + } + + Method [ <internal:swoole> public method metaData ] { + + - Parameters [1] { + Parameter #0 [ <required> $table_name ] + } + } + + Method [ <internal:swoole> public method fetchObject ] { + + - Parameters [5] { + Parameter #0 [ <required> $result ] + Parameter #1 [ <optional> $row ] + Parameter #2 [ <optional> $class_name ] + Parameter #3 [ <optional> $l ] + Parameter #4 [ <optional> $ctor_params ] + } + } + + Method [ <internal:swoole> public method fetchAssoc ] { + + - Parameters [2] { + Parameter #0 [ <required> $result ] + Parameter #1 [ <optional> $row ] + } + } + + Method [ <internal:swoole> public method fetchArray ] { + + - Parameters [3] { + Parameter #0 [ <required> $result ] + Parameter #1 [ <optional> $row ] + Parameter #2 [ <optional> $result_type ] + } + } + + Method [ <internal:swoole> public method fetchRow ] { + + - Parameters [3] { + Parameter #0 [ <required> $result ] + Parameter #1 [ <optional> $row ] + Parameter #2 [ <optional> $result_type ] + } + } + + Method [ <internal:swoole, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + } + } + Class [ <internal:swoole> class Swoole\Coroutine\MySQL ] { - Constants [0] { @@ -2446,9 +2611,14 @@ Extension [ <persistent> extension #144 swoole version 2.1.1 ] { - Static methods [0] { } - - Properties [12] { - Property [ <default> public $type ] + - Properties [17] { Property [ <default> public $errCode ] + Property [ <default> public $sock ] + Property [ <default> public $reuse ] + Property [ <default> public $reuseCount ] + Property [ <default> public $type ] + Property [ <default> public $setting ] + Property [ <default> public $connected ] Property [ <default> public $statusCode ] Property [ <default> public $host ] Property [ <default> public $port ] @@ -2580,7 +2750,8 @@ Extension [ <persistent> extension #144 swoole version 2.1.1 ] { Method [ <internal:swoole> public method recv ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <optional> $timeout ] } } @@ -2609,7 +2780,7 @@ Extension [ <persistent> extension #144 swoole version 2.1.1 ] { - Static properties [0] { } - - Static methods [15] { + - Static methods [17] { Method [ <internal:swoole> static public method create ] { - Parameters [1] { @@ -2688,6 +2859,22 @@ Extension [ <persistent> extension #144 swoole version 2.1.1 ] { } } + Method [ <internal:swoole> static public method readFile ] { + + - Parameters [1] { + Parameter #0 [ <required> $filename ] + } + } + + Method [ <internal:swoole> static public method writeFile ] { + + - Parameters [3] { + Parameter #0 [ <required> $filename ] + Parameter #1 [ <required> $data ] + Parameter #2 [ <optional> $flags ] + } + } + Method [ <internal:swoole> static public method gethostbyname ] { - Parameters [2] { @@ -2969,7 +3156,7 @@ Extension [ <persistent> extension #144 swoole version 2.1.1 ] { Property [ <default> public $id ] } - - Methods [15] { + - Methods [16] { Method [ <internal:swoole, ctor> public method __construct ] { - Parameters [3] { @@ -2992,6 +3179,13 @@ Extension [ <persistent> extension #144 swoole version 2.1.1 ] { } } + Method [ <internal:swoole> public method setBlocking ] { + + - Parameters [1] { + Parameter #0 [ <required> $blocking ] + } + } + Method [ <internal:swoole> public method useQueue ] { - Parameters [2] { @@ -3076,6 +3270,60 @@ Extension [ <persistent> extension #144 swoole version 2.1.1 ] { } } + Class [ <internal:swoole> class Swoole\Process\Pool ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [5] { + Method [ <internal:swoole, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <required> $worker_num ] + Parameter #1 [ <optional> $ipc_type ] + Parameter #2 [ <optional> $msgqueue_key ] + } + } + + Method [ <internal:swoole, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method on ] { + + - Parameters [2] { + Parameter #0 [ <required> $event_name ] + Parameter #1 [ <required> $callback ] + } + } + + Method [ <internal:swoole> public method listen ] { + + - Parameters [2] { + Parameter #0 [ <required> $host ] + Parameter #1 [ <required> $port ] + } + } + + Method [ <internal:swoole> public method start ] { + + - Parameters [0] { + } + } + } + } + Class [ <internal:swoole> <iterateable> class Swoole\Table implements ArrayAccess, Iterator, Traversable, Countable ] { - Constants [3] { @@ -3848,8 +4096,8 @@ Extension [ <persistent> extension #144 swoole version 2.1.1 ] { Method [ <internal:swoole, inherits Swoole\Server> public method sendMessage ] { - Parameters [2] { - Parameter #0 [ <required> $dst_worker_id ] - Parameter #1 [ <required> $data ] + Parameter #0 [ <required> $message ] + Parameter #1 [ <required> $dst_worker_id ] } } @@ -4506,8 +4754,8 @@ Extension [ <persistent> extension #144 swoole version 2.1.1 ] { Method [ <internal:swoole, inherits Swoole\Server> public method sendMessage ] { - Parameters [2] { - Parameter #0 [ <required> $dst_worker_id ] - Parameter #1 [ <required> $data ] + Parameter #0 [ <required> $message ] + Parameter #1 [ <required> $dst_worker_id ] } } @@ -4898,7 +5146,7 @@ Extension [ <persistent> extension #144 swoole version 2.1.1 ] { - Properties [0] { } - - Methods [5] { + - Methods [7] { Method [ <internal:swoole, ctor> public method __construct ] { - Parameters [1] { @@ -4925,7 +5173,83 @@ Extension [ <persistent> extension #144 swoole version 2.1.1 ] { } } - Method [ <internal:swoole> public method full ] { + Method [ <internal:swoole> public method count ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method isFull ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method isEmpty ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:swoole> class Swoole\MsgQueue ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [7] { + Method [ <internal:swoole, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <required> $len ] + } + } + + Method [ <internal:swoole, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method push ] { + + - Parameters [2] { + Parameter #0 [ <required> $data ] + Parameter #1 [ <optional> $type ] + } + } + + Method [ <internal:swoole> public method pop ] { + + - Parameters [1] { + Parameter #0 [ <optional> $type ] + } + } + + Method [ <internal:swoole> public method setBlocking ] { + + - Parameters [1] { + Parameter #0 [ <required> $blocking ] + } + } + + Method [ <internal:swoole> public method stats ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method destory ] { - Parameters [0] { } @@ -5193,15 +5517,15 @@ Extension [ <persistent> extension #144 swoole version 2.1.1 ] { } - Properties [9] { - Property [ <default> public $type ] Property [ <default> public $errCode ] - Property [ <default> public $statusCode ] - Property [ <default> public $host ] - Property [ <default> public $port ] Property [ <default> public $sock ] Property [ <default> public $reuse ] Property [ <default> public $reuseCount ] + Property [ <default> public $type ] Property [ <default> public $setting ] + Property [ <default> public $connected ] + Property [ <default> public $host ] + Property [ <default> public $port ] } - Methods [8] { @@ -5743,8 +6067,8 @@ Extension [ <persistent> extension #144 swoole version 2.1.1 ] { Method [ <internal:swoole, inherits Swoole\Server> public method sendMessage ] { - Parameters [2] { - Parameter #0 [ <required> $dst_worker_id ] - Parameter #1 [ <required> $data ] + Parameter #0 [ <required> $message ] + Parameter #1 [ <required> $dst_worker_id ] } } |