From 11b0f344f4b41fd7f1aa3f671c7831a57843641e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 6 Feb 2023 12:30:33 +0100 Subject: refresh reflection with 8.1 --- PHPINFO | 4 +- REFLECTION | 139 +++++++++++++++++++++++++++++++++++++++++++++++++------------ 2 files changed, 114 insertions(+), 29 deletions(-) diff --git a/PHPINFO b/PHPINFO index b9d12e3..4f85ba1 100644 --- a/PHPINFO +++ b/PHPINFO @@ -14,14 +14,14 @@ cpu_affinity => enabled spinlock => enabled rwlock => enabled sockets => enabled -openssl => OpenSSL 1.1.1q FIPS 5 Jul 2022 +openssl => OpenSSL 3.0.5 5 Jul 2022 dtls => enabled http2 => enabled json => enabled curl-native => enabled pcre => enabled c-ares => 1.17.2 -zlib => 1.2.11 +zlib => 1.2.12 brotli => E16777225/D16777225 mutex_timedlock => enabled pthread_barrier => enabled diff --git a/REFLECTION b/REFLECTION index 109459f..ff5d30f 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #88 swoole version 5.0.1 ] { +Extension [ extension #107 swoole version 5.0.1 ] { - Dependencies { Dependency [ json (Required) ] @@ -852,7 +852,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [0] { } - - Return [  ] + - Return [ É ] } Function [ function swoole_timer_clear ] { @@ -1283,8 +1283,8 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Properties [4] { Property [ protected $message = '' ] Property [ protected $code = 0 ] - Property [ protected $file = NULL ] - Property [ protected $line = NULL ] + Property [ protected string $file = '' ] + Property [ protected int $line = 0 ] } - Methods [10] { @@ -1301,6 +1301,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [0] { } + - Tentative return [ void ] } Method [ final public method getMessage ] { @@ -1374,8 +1375,8 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Properties [4] { Property [ protected $message = '' ] Property [ protected $code = 0 ] - Property [ protected $file = NULL ] - Property [ protected $line = NULL ] + Property [ protected string $file = '' ] + Property [ protected int $line ] } - Methods [10] { @@ -1392,6 +1393,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [0] { } + - Tentative return [ void ] } Method [ final public method getMessage ] { @@ -2415,7 +2417,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { } } - Class [ class Swoole\Timer\Iterator extends ArrayIterator implements Countable, Serializable, SeekableIterator, ArrayAccess, Traversable, Iterator ] { + Class [ class Swoole\Timer\Iterator extends ArrayIterator implements Countable, Serializable, ArrayAccess, Iterator, Traversable, SeekableIterator ] { - Constants [2] { Constant [ public int STD_PROP_LIST ] { 1 } @@ -2445,6 +2447,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ mixed $key ] } + - Tentative return [ bool ] } Method [ public method offsetGet ] { @@ -2452,6 +2455,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ mixed $key ] } + - Tentative return [ mixed ] } Method [ public method offsetSet ] { @@ -2460,6 +2464,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { Parameter #0 [ mixed $key ] Parameter #1 [ mixed $value ] } + - Tentative return [ void ] } Method [ public method offsetUnset ] { @@ -2467,6 +2472,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ mixed $key ] } + - Tentative return [ void ] } Method [ public method append ] { @@ -2474,24 +2480,28 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ mixed $value ] } + - Tentative return [ void ] } Method [ public method getArrayCopy ] { - Parameters [0] { } + - Tentative return [ array ] } Method [ public method count ] { - Parameters [0] { } + - Tentative return [ int ] } Method [ public method getFlags ] { - Parameters [0] { } + - Tentative return [ int ] } Method [ public method setFlags ] { @@ -2499,6 +2509,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ int $flags ] } + - Tentative return [ void ] } Method [ public method asort ] { @@ -2506,6 +2517,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ int $flags = SORT_REGULAR ] } + - Tentative return [ bool ] } Method [ public method ksort ] { @@ -2513,6 +2525,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ int $flags = SORT_REGULAR ] } + - Tentative return [ bool ] } Method [ public method uasort ] { @@ -2520,6 +2533,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ callable $callback ] } + - Tentative return [ bool ] } Method [ public method uksort ] { @@ -2527,18 +2541,21 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ callable $callback ] } + - Tentative return [ bool ] } Method [ public method natsort ] { - Parameters [0] { } + - Tentative return [ bool ] } Method [ public method natcasesort ] { - Parameters [0] { } + - Tentative return [ bool ] } Method [ public method unserialize ] { @@ -2546,18 +2563,21 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ string $data ] } + - Tentative return [ void ] } Method [ public method serialize ] { - Parameters [0] { } + - Tentative return [ string ] } Method [ public method __serialize ] { - Parameters [0] { } + - Tentative return [ array ] } Method [ public method __unserialize ] { @@ -2565,36 +2585,42 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ array $data ] } + - Tentative return [ void ] } Method [ public method rewind ] { - Parameters [0] { } + - Tentative return [ void ] } Method [ public method current ] { - Parameters [0] { } + - Tentative return [ mixed ] } Method [ public method key ] { - Parameters [0] { } + - Tentative return [ string|int|null ] } Method [ public method next ] { - Parameters [0] { } + - Tentative return [ void ] } Method [ public method valid ] { - Parameters [0] { } + - Tentative return [ bool ] } Method [ public method seek ] { @@ -2602,12 +2628,14 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ int $offset ] } + - Tentative return [ void ] } Method [ public method __debugInfo ] { - Parameters [0] { } + - Tentative return [ array ] } } } @@ -2963,7 +2991,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { } } - Class [ class Swoole\Coroutine\Iterator extends ArrayIterator implements Countable, Serializable, SeekableIterator, ArrayAccess, Traversable, Iterator ] { + Class [ class Swoole\Coroutine\Iterator extends ArrayIterator implements Countable, Serializable, ArrayAccess, Iterator, Traversable, SeekableIterator ] { - Constants [2] { Constant [ public int STD_PROP_LIST ] { 1 } @@ -2993,6 +3021,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ mixed $key ] } + - Tentative return [ bool ] } Method [ public method offsetGet ] { @@ -3000,6 +3029,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ mixed $key ] } + - Tentative return [ mixed ] } Method [ public method offsetSet ] { @@ -3008,6 +3038,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { Parameter #0 [ mixed $key ] Parameter #1 [ mixed $value ] } + - Tentative return [ void ] } Method [ public method offsetUnset ] { @@ -3015,6 +3046,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ mixed $key ] } + - Tentative return [ void ] } Method [ public method append ] { @@ -3022,24 +3054,28 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ mixed $value ] } + - Tentative return [ void ] } Method [ public method getArrayCopy ] { - Parameters [0] { } + - Tentative return [ array ] } Method [ public method count ] { - Parameters [0] { } + - Tentative return [ int ] } Method [ public method getFlags ] { - Parameters [0] { } + - Tentative return [ int ] } Method [ public method setFlags ] { @@ -3047,6 +3083,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ int $flags ] } + - Tentative return [ void ] } Method [ public method asort ] { @@ -3054,6 +3091,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ int $flags = SORT_REGULAR ] } + - Tentative return [ bool ] } Method [ public method ksort ] { @@ -3061,6 +3099,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ int $flags = SORT_REGULAR ] } + - Tentative return [ bool ] } Method [ public method uasort ] { @@ -3068,6 +3107,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ callable $callback ] } + - Tentative return [ bool ] } Method [ public method uksort ] { @@ -3075,18 +3115,21 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ callable $callback ] } + - Tentative return [ bool ] } Method [ public method natsort ] { - Parameters [0] { } + - Tentative return [ bool ] } Method [ public method natcasesort ] { - Parameters [0] { } + - Tentative return [ bool ] } Method [ public method unserialize ] { @@ -3094,18 +3137,21 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ string $data ] } + - Tentative return [ void ] } Method [ public method serialize ] { - Parameters [0] { } + - Tentative return [ string ] } Method [ public method __serialize ] { - Parameters [0] { } + - Tentative return [ array ] } Method [ public method __unserialize ] { @@ -3113,36 +3159,42 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ array $data ] } + - Tentative return [ void ] } Method [ public method rewind ] { - Parameters [0] { } + - Tentative return [ void ] } Method [ public method current ] { - Parameters [0] { } + - Tentative return [ mixed ] } Method [ public method key ] { - Parameters [0] { } + - Tentative return [ string|int|null ] } Method [ public method next ] { - Parameters [0] { } + - Tentative return [ void ] } Method [ public method valid ] { - Parameters [0] { } + - Tentative return [ bool ] } Method [ public method seek ] { @@ -3150,12 +3202,14 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ int $offset ] } + - Tentative return [ void ] } Method [ public method __debugInfo ] { - Parameters [0] { } + - Tentative return [ array ] } } } @@ -3191,6 +3245,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ mixed $key ] } + - Tentative return [ bool ] } Method [ public method offsetGet ] { @@ -3198,6 +3253,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ mixed $key ] } + - Tentative return [ mixed ] } Method [ public method offsetSet ] { @@ -3206,6 +3262,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { Parameter #0 [ mixed $key ] Parameter #1 [ mixed $value ] } + - Tentative return [ void ] } Method [ public method offsetUnset ] { @@ -3213,6 +3270,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ mixed $key ] } + - Tentative return [ void ] } Method [ public method append ] { @@ -3220,24 +3278,28 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ mixed $value ] } + - Tentative return [ void ] } Method [ public method getArrayCopy ] { - Parameters [0] { } + - Tentative return [ array ] } Method [ public method count ] { - Parameters [0] { } + - Tentative return [ int ] } Method [ public method getFlags ] { - Parameters [0] { } + - Tentative return [ int ] } Method [ public method setFlags ] { @@ -3245,6 +3307,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ int $flags ] } + - Tentative return [ void ] } Method [ public method asort ] { @@ -3252,6 +3315,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ int $flags = SORT_REGULAR ] } + - Tentative return [ bool ] } Method [ public method ksort ] { @@ -3259,6 +3323,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ int $flags = SORT_REGULAR ] } + - Tentative return [ bool ] } Method [ public method uasort ] { @@ -3266,6 +3331,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ callable $callback ] } + - Tentative return [ bool ] } Method [ public method uksort ] { @@ -3273,18 +3339,21 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ callable $callback ] } + - Tentative return [ bool ] } Method [ public method natsort ] { - Parameters [0] { } + - Tentative return [ bool ] } Method [ public method natcasesort ] { - Parameters [0] { } + - Tentative return [ bool ] } Method [ public method unserialize ] { @@ -3292,18 +3361,21 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ string $data ] } + - Tentative return [ void ] } Method [ public method serialize ] { - Parameters [0] { } + - Tentative return [ string ] } Method [ public method __serialize ] { - Parameters [0] { } + - Tentative return [ array ] } Method [ public method __unserialize ] { @@ -3311,12 +3383,14 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ array $data ] } + - Tentative return [ void ] } Method [ public method getIterator ] { - Parameters [0] { } + - Tentative return [ Iterator ] } Method [ public method exchangeArray ] { @@ -3324,6 +3398,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ object|array $array ] } + - Tentative return [ array ] } Method [ public method setIteratorClass ] { @@ -3331,18 +3406,21 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [1] { Parameter #0 [ string $iteratorClass ] } + - Tentative return [ void ] } Method [ public method getIteratorClass ] { - Parameters [0] { } + - Tentative return [ string ] } Method [ public method __debugInfo ] { - Parameters [0] { } + - Tentative return [ array ] } } } @@ -3361,8 +3439,8 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Properties [6] { Property [ protected $message = '' ] Property [ protected $code = 0 ] - Property [ protected $file = NULL ] - Property [ protected $line = NULL ] + Property [ protected string $file = '' ] + Property [ protected int $line = 0 ] Property [ private $flags = 0 ] Property [ private $status = 0 ] } @@ -3395,6 +3473,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [0] { } + - Tentative return [ void ] } Method [ final public method getMessage ] { @@ -3802,8 +3881,8 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Properties [4] { Property [ protected $message = '' ] Property [ protected $code = 0 ] - Property [ protected $file = NULL ] - Property [ protected $line = NULL ] + Property [ protected string $file = '' ] + Property [ protected int $line = 0 ] } - Methods [10] { @@ -3820,6 +3899,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [0] { } + - Tentative return [ void ] } Method [ final public method getMessage ] { @@ -4187,8 +4267,8 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Properties [4] { Property [ protected $message = '' ] Property [ protected $code = 0 ] - Property [ protected $file = NULL ] - Property [ protected $line = NULL ] + Property [ protected string $file = '' ] + Property [ protected int $line = 0 ] } - Methods [10] { @@ -4205,6 +4285,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [0] { } + - Tentative return [ void ] } Method [ final public method getMessage ] { @@ -4446,8 +4527,8 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Properties [4] { Property [ protected $message = '' ] Property [ protected $code = 0 ] - Property [ protected $file = NULL ] - Property [ protected $line = NULL ] + Property [ protected string $file = '' ] + Property [ protected int $line = 0 ] } - Methods [10] { @@ -4464,6 +4545,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [0] { } + - Tentative return [ void ] } Method [ final public method getMessage ] { @@ -4971,8 +5053,8 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Properties [4] { Property [ protected $message = '' ] Property [ protected $code = 0 ] - Property [ protected $file = NULL ] - Property [ protected $line = NULL ] + Property [ protected string $file = '' ] + Property [ protected int $line = 0 ] } - Methods [10] { @@ -4989,6 +5071,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [0] { } + - Tentative return [ void ] } Method [ final public method getMessage ] { @@ -5191,8 +5274,8 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Properties [4] { Property [ protected $message = '' ] Property [ protected $code = 0 ] - Property [ protected $file = NULL ] - Property [ protected $line = NULL ] + Property [ protected string $file = '' ] + Property [ protected int $line = 0 ] } - Methods [10] { @@ -5209,6 +5292,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [0] { } + - Tentative return [ void ] } Method [ final public method getMessage ] { @@ -5529,8 +5613,8 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Properties [4] { Property [ protected $message = '' ] Property [ protected $code = 0 ] - Property [ protected $file = NULL ] - Property [ protected $line = NULL ] + Property [ protected string $file = '' ] + Property [ protected int $line = 0 ] } - Methods [10] { @@ -5547,6 +5631,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Parameters [0] { } + - Tentative return [ void ] } Method [ final public method getMessage ] { @@ -7579,7 +7664,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Properties [5] { Property [ public $data = NULL ] - Property [ public $dispatch_time = 0 ] + Property [ public $dispatch_time = 0.0 ] Property [ public $id = -1 ] Property [ public $worker_id = -1 ] Property [ public $flags = 0 ] @@ -7610,7 +7695,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Properties [4] { Property [ public $reactor_id = 0 ] Property [ public $fd = 0 ] - Property [ public $dispatch_time = 0 ] + Property [ public $dispatch_time = 0.0 ] Property [ public $data = NULL ] } @@ -7632,7 +7717,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Properties [5] { Property [ public $server_socket = 0 ] Property [ public $server_port = 0 ] - Property [ public $dispatch_time = 0 ] + Property [ public $dispatch_time = 0.0 ] Property [ public $address = NULL ] Property [ public $port = 0 ] } @@ -7654,7 +7739,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Properties [3] { Property [ public $source_worker_id = 0 ] - Property [ public $dispatch_time = 0 ] + Property [ public $dispatch_time = 0.0 ] Property [ public $data = NULL ] } @@ -7699,7 +7784,7 @@ Extension [ extension #88 swoole version 5.0.1 ] { - Properties [4] { Property [ public $task_id = 0 ] Property [ public $task_worker_id = 0 ] - Property [ public $dispatch_time = 0 ] + Property [ public $dispatch_time = 0.0 ] Property [ public $data = NULL ] } -- cgit