summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-04-15 13:06:34 +0200
committerRemi Collet <remi@remirepo.net>2019-04-15 13:06:34 +0200
commitef0d3d197cdb4429c13b383cbb83ab79518e8c66 (patch)
tree31f0a00566798d7c2db9ca5d649430177655a133
parente9445cc305a148fa92cca9c4b46ea52876e1d9f1 (diff)
v4.3.2
-rw-r--r--PHPINFO4
-rw-r--r--REFLECTION396
-rw-r--r--php-pecl-swoole4.spec7
3 files changed, 339 insertions, 68 deletions
diff --git a/PHPINFO b/PHPINFO
index be8766d..0dc59ec 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -3,8 +3,8 @@ swoole
Swoole => enabled
Author => Swoole Team <team@swoole.com>
-Version => 4.3.1
-Built => Mar 13 2019 08:30:50
+Version => 4.3.2
+Built => Apr 15 2019 12:54:19
coroutine => enabled
trace_log => enabled
epoll => enabled
diff --git a/REFLECTION b/REFLECTION
index c72e6ca..6c2fff5 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
+Extension [ <persistent> extension #155 swoole version 4.3.2 ] {
- INI {
Entry [ swoole.enable_coroutine <ALL> ]
@@ -15,12 +15,12 @@ Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
}
}
- - Constants [256] {
- Constant [ string SWOOLE_VERSION ] { 4.3.1 }
- Constant [ integer SWOOLE_VERSION_ID ] { 40301 }
+ - Constants [287] {
+ Constant [ string SWOOLE_VERSION ] { 4.3.2 }
+ Constant [ integer SWOOLE_VERSION_ID ] { 40302 }
Constant [ integer SWOOLE_MAJOR_VERSION ] { 4 }
Constant [ integer SWOOLE_MINOR_VERSION ] { 3 }
- Constant [ integer SWOOLE_RELEASE_VERSION ] { 1 }
+ Constant [ integer SWOOLE_RELEASE_VERSION ] { 2 }
Constant [ string SWOOLE_EXTRA_VERSION ] { }
Constant [ boolean SWOOLE_DEBUG ] { }
Constant [ integer SWOOLE_BASE ] { 1 }
@@ -76,6 +76,7 @@ Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
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_FILE_NOT_EXIST ] { 700 }
Constant [ integer SWOOLE_ERROR_FILE_TOO_LARGE ] { 701 }
Constant [ integer SWOOLE_ERROR_FILE_EMPTY ] { 702 }
@@ -129,6 +130,7 @@ Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
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 }
@@ -156,7 +158,6 @@ Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
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 ] { 16777216 }
Constant [ integer SWOOLE_TRACE_REDIS_CLIENT ] { 65536 }
Constant [ integer SWOOLE_TRACE_MYSQL_CLIENT ] { 131072 }
Constant [ integer SWOOLE_TRACE_AIO ] { 262144 }
@@ -165,6 +166,8 @@ Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
Constant [ integer SWOOLE_TRACE_CHANNEL ] { 2097152 }
Constant [ integer SWOOLE_TRACE_TIMER ] { 4194304 }
Constant [ integer SWOOLE_TRACE_SOCKET ] { 8388608 }
+ Constant [ integer SWOOLE_TRACE_COROUTINE ] { 16777216 }
+ Constant [ integer SWOOLE_TRACE_CONTEXT ] { 33554432 }
Constant [ integer SWOOLE_TRACE_ALL ] { 4294967295 }
Constant [ integer SWOOLE_LOG_DEBUG ] { 0 }
Constant [ integer SWOOLE_LOG_TRACE ] { 1 }
@@ -172,9 +175,13 @@ Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
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_DISPATCH_RESULT_DISCARD_PACKET ] { -1 }
+ Constant [ integer SWOOLE_DISPATCH_RESULT_CLOSE_CONNECTION ] { -2 }
+ Constant [ integer SWOOLE_DISPATCH_RESULT_USERFUNC_FALLBACK ] { -3 }
Constant [ integer SWOOLE_REDIS_MODE_MULTI ] { 0 }
Constant [ integer SWOOLE_REDIS_MODE_PIPELINE ] { 1 }
Constant [ integer SWOOLE_REDIS_TYPE_NOT_FOUND ] { 0 }
@@ -203,23 +210,47 @@ Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
Constant [ integer SWOOLE_CORO_WAITING ] { 1 }
Constant [ integer SWOOLE_CORO_RUNNING ] { 2 }
Constant [ integer SWOOLE_CORO_END ] { 3 }
+ Constant [ integer SWOOLE_CORO_SCHEDULER_TICK ] { 1 }
Constant [ integer SWOOLE_EXIT_IN_COROUTINE ] { 2 }
Constant [ integer SWOOLE_EXIT_IN_SERVER ] { 4 }
- Constant [ integer SWOOLE_HOOK_FILE ] { 2 }
- Constant [ integer SWOOLE_HOOK_SLEEP ] { 4 }
- Constant [ integer SWOOLE_HOOK_TCP ] { 8 }
- Constant [ integer SWOOLE_HOOK_UDP ] { 16 }
- Constant [ integer SWOOLE_HOOK_UNIX ] { 32 }
- Constant [ integer SWOOLE_HOOK_UDG ] { 64 }
- Constant [ integer SWOOLE_HOOK_SSL ] { 128 }
- Constant [ integer SWOOLE_HOOK_TLS ] { 256 }
- Constant [ integer SWOOLE_HOOK_BLOCKING_FUNCTION ] { 512 }
+ 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_SELECT ] { 128 }
+ Constant [ integer SWOOLE_HOOK_FILE ] { 256 }
+ Constant [ integer SWOOLE_HOOK_SLEEP ] { 512 }
+ Constant [ integer SWOOLE_HOOK_BLOCKING_FUNCTION ] { 1073741824 }
Constant [ integer SWOOLE_HOOK_ALL ] { 2147483647 }
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_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_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 }
@@ -500,7 +531,7 @@ Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
}
}
- - Classes [43] {
+ - Classes [44] {
Class [ <internal:swoole> class Swoole\Timer ] {
- Constants [0] {
@@ -558,7 +589,7 @@ Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
- Static properties [0] {
}
- - Static methods [8] {
+ - Static methods [10] {
Method [ <internal:swoole> static public method add ] {
- Parameters [4] {
@@ -620,6 +651,20 @@ Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
Parameter #1 [ <optional> $before ]
}
}
+
+ Method [ <internal:swoole> static public method dispatch ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> static public method isset ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $fd ]
+ Parameter #1 [ <optional> $events ]
+ }
+ }
}
- Properties [0] {
@@ -698,17 +743,17 @@ Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
}
- Properties [23] {
- Property [ <default> private $on_start ]
- Property [ <default> private $on_shutdown ]
- Property [ <default> private $on_workerstart ]
- Property [ <default> private $on_workerstop ]
- Property [ <default> private $on_workerexit ]
- Property [ <default> private $on_workererror ]
- Property [ <default> private $on_task ]
- Property [ <default> private $on_finish ]
- Property [ <default> private $on_managerstart ]
- Property [ <default> private $on_managerstop ]
- Property [ <default> private $on_pipemessage ]
+ Property [ <default> private $onStart ]
+ Property [ <default> private $onShutdown ]
+ Property [ <default> private $onWorkerStart ]
+ Property [ <default> private $onWorkerStop ]
+ Property [ <default> private $onWorkerExit ]
+ Property [ <default> private $onWorkerError ]
+ Property [ <default> private $onTask ]
+ Property [ <default> private $onFinish ]
+ Property [ <default> private $onManagerStart ]
+ Property [ <default> private $onManagerStop ]
+ Property [ <default> private $onPipeMessage ]
Property [ <default> public $setting ]
Property [ <default> public $connections ]
Property [ <default> public $host ]
@@ -1090,7 +1135,19 @@ Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
- Properties [0] {
}
- - Methods [11] {
+ - Methods [12] {
+ Method [ <internal:swoole, ctor> public method __construct ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole, dtor> public method __destruct ] {
+
+ - Parameters [0] {
+ }
+ }
+
Method [ <internal:swoole, prototype Iterator> public method rewind ] {
- Parameters [0] {
@@ -1127,12 +1184,6 @@ Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
}
}
- Method [ <internal:swoole, dtor> public method __destruct ] {
-
- - Parameters [0] {
- }
- }
-
Method [ <internal:swoole, prototype ArrayAccess> public method offsetExists ] {
- Parameters [1] {
@@ -1184,8 +1235,8 @@ Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
Property [ <default> private $onBufferEmpty ]
Property [ <default> private $onRequest ]
Property [ <default> private $onHandShake ]
- Property [ <default> private $onMessage ]
Property [ <default> private $onOpen ]
+ Property [ <default> private $onMessage ]
Property [ <default> public $host ]
Property [ <default> public $port ]
Property [ <default> public $type ]
@@ -1194,7 +1245,7 @@ Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
Property [ <default> public $connections ]
}
- - Methods [5] {
+ - Methods [6] {
Method [ <internal:swoole, ctor> private method __construct ] {
- Parameters [0] {
@@ -1222,6 +1273,13 @@ Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
}
}
+ Method [ <internal:swoole> public method getCallback ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $event_name ]
+ }
+ }
+
Method [ <internal:swoole> public method getSocket ] {
- Parameters [0] {
@@ -1446,7 +1504,7 @@ Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
Property [ <default> public $errMsg ]
}
- - Methods [16] {
+ - Methods [18] {
Method [ <internal:swoole, ctor> public method __construct ] {
- Parameters [3] {
@@ -1536,6 +1594,23 @@ Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
}
}
+ Method [ <internal:swoole> public method getOption ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $level ]
+ Parameter #1 [ <required> $opt_name ]
+ }
+ }
+
+ Method [ <internal:swoole> public method setOption ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $level ]
+ Parameter #1 [ <required> $opt_name ]
+ Parameter #2 [ <required> $opt_value ]
+ }
+ }
+
Method [ <internal:swoole> public method shutdown ] {
- Parameters [1] {
@@ -3687,8 +3762,9 @@ Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
Method [ <internal:swoole> static public method exec ] {
- - Parameters [1] {
+ - Parameters [2] {
Parameter #0 [ <required> $command ]
+ Parameter #1 [ <optional> $get_error_stream ]
}
}
@@ -3866,9 +3942,11 @@ Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
}
}
- Class [ <internal:swoole> <iterateable> class Swoole\Coroutine\Iterator implements Iterator, Traversable, Countable ] {
+ Class [ <internal:swoole> <iterateable> class Swoole\Coroutine\Iterator extends ArrayIterator implements Countable, Serializable, SeekableIterator, ArrayAccess, Traversable, Iterator ] {
- - Constants [0] {
+ - Constants [2] {
+ Constant [ public integer STD_PROP_LIST ] { 1 }
+ Constant [ public integer ARRAY_AS_PROPS ] { 2 }
}
- Static properties [0] {
@@ -3880,48 +3958,163 @@ Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
- Properties [0] {
}
- - Methods [7] {
- Method [ <internal:swoole, prototype Iterator> public method rewind ] {
+ - Methods [24] {
+ Method [ <internal:SPL, inherits ArrayIterator, ctor> public method __construct ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> $array ]
+ Parameter #1 [ <optional> $ar_flags ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype ArrayAccess> public method offsetExists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $index ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype ArrayAccess> public method offsetGet ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $index ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype ArrayAccess> public method offsetSet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $index ]
+ Parameter #1 [ <required> $newval ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype ArrayAccess> public method offsetUnset ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $index ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method append ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method getArrayCopy ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole, prototype Iterator> public method next ] {
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Countable> public method count ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole, prototype Iterator> public method current ] {
+ Method [ <internal:SPL, inherits ArrayIterator> public method getFlags ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole, prototype Iterator> public method key ] {
+ Method [ <internal:SPL, inherits ArrayIterator> public method setFlags ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $flags ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method asort ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole, prototype Iterator> public method valid ] {
+ Method [ <internal:SPL, inherits ArrayIterator> public method ksort ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole, prototype Countable> public method count ] {
+ Method [ <internal:SPL, inherits ArrayIterator> public method uasort ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $cmp_function ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method uksort ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $cmp_function ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method natsort ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole, dtor> public method __destruct ] {
+ Method [ <internal:SPL, inherits ArrayIterator> public method natcasesort ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Serializable> public method unserialize ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $serialized ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Serializable> public method serialize ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method rewind ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method current ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method key ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method next ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method valid ] {
- Parameters [0] {
}
}
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype SeekableIterator> public method seek ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $position ]
+ }
+ }
}
}
@@ -4233,10 +4426,11 @@ Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
- Methods [17] {
Method [ <internal:swoole, ctor> public method __construct ] {
- - Parameters [3] {
+ - Parameters [4] {
Parameter #0 [ <required> callable $callback ]
Parameter #1 [ <optional> $redirect_stdin_and_stdout ]
Parameter #2 [ <optional> $pipe_type ]
+ Parameter #3 [ <optional> $enable_coroutine ]
}
}
@@ -4362,10 +4556,11 @@ Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
- Static methods [0] {
}
- - Properties [0] {
+ - Properties [1] {
+ Property [ <default> public $master_pid ]
}
- - Methods [7] {
+ - Methods [8] {
Method [ <internal:swoole, ctor> public method __construct ] {
- Parameters [3] {
@@ -4416,6 +4611,12 @@ Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
- Parameters [0] {
}
}
+
+ Method [ <internal:swoole> public method shutdown ] {
+
+ - Parameters [0] {
+ }
+ }
}
}
@@ -4903,6 +5104,7 @@ Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
}
- Properties [14] {
+ Property [ <default> public $setting ]
Property [ <default> public $connections ]
Property [ <default> public $host ]
Property [ <default> public $port ]
@@ -4914,9 +5116,8 @@ Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
Property [ <default> public $worker_id ]
Property [ <default> public $taskworker ]
Property [ <default> public $worker_pid ]
- Property [ <default> public $onRequest ]
- Property [ <default> public $onHandshake ]
- Property [ <default> public $setting ]
+ Property [ <default> private $onRequest ]
+ Property [ <default> private $onHandshake ]
}
- Methods [42] {
@@ -5428,7 +5629,9 @@ Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
- Static methods [0] {
}
- - Properties [0] {
+ - Properties [2] {
+ Property [ <default> public $capacity ]
+ Property [ <default> public $length ]
}
- Methods [10] {
@@ -5456,7 +5659,7 @@ Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
- Parameters [3] {
Parameter #0 [ <required> $offset ]
Parameter #1 [ <optional> $length ]
- Parameter #2 [ <optional> $seek ]
+ Parameter #2 [ <optional> $remove ]
}
}
@@ -5531,7 +5734,8 @@ Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
}
}
- - Properties [14] {
+ - Properties [12] {
+ Property [ <default> public $setting ]
Property [ <default> public $connections ]
Property [ <default> public $host ]
Property [ <default> public $port ]
@@ -5543,9 +5747,6 @@ Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
Property [ <default> public $worker_id ]
Property [ <default> public $taskworker ]
Property [ <default> public $worker_pid ]
- Property [ <default> public $onRequest ]
- Property [ <default> public $onHandshake ]
- Property [ <default> public $setting ]
}
- Methods [45] {
@@ -5969,7 +6170,10 @@ Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
}
}
- - Properties [3] {
+ - Properties [6] {
+ Property [ <default> public $fd ]
+ Property [ <default> public $data ]
+ Property [ <default> public $finish ]
Property [ <default> public $opcode ]
Property [ <default> public $code ]
Property [ <default> public $reason ]
@@ -6077,7 +6281,7 @@ Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
Property [ <default> public $port ]
}
- - Methods [11] {
+ - Methods [12] {
Method [ <internal:swoole, ctor> public method __construct ] {
- Parameters [3] {
@@ -6151,6 +6355,12 @@ Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
}
}
+ Method [ <internal:swoole> public method ping ] {
+
+ - Parameters [0] {
+ }
+ }
+
Method [ <internal:swoole> public method close ] {
- Parameters [0] {
@@ -6159,6 +6369,63 @@ Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
}
}
+ Class [ <internal:swoole> class Swoole\Coroutine\Http2\Client\Exception extends Swoole\Exception implements Throwable ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [4] {
+ Property [ <default> protected $message ]
+ Property [ <default> protected $code ]
+ Property [ <default> protected $file ]
+ Property [ <default> protected $line ]
+ }
+
+ - Methods [10] {
+ Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <optional> $message ]
+ Parameter #1 [ <optional> $code ]
+ Parameter #2 [ <optional> $previous ]
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] {
+ }
+ }
+ }
+
Class [ <internal:swoole> class Swoole\Http2\Request ] {
- Constants [0] {
@@ -6170,14 +6437,13 @@ Extension [ <persistent> extension #153 swoole version 4.3.1 ] {
- Static methods [0] {
}
- - Properties [7] {
+ - Properties [6] {
Property [ <default> public $path ]
Property [ <default> public $method ]
Property [ <default> public $headers ]
Property [ <default> public $cookies ]
Property [ <default> public $data ]
Property [ <default> public $pipeline ]
- Property [ <default> public $files ]
}
- Methods [0] {
diff --git a/php-pecl-swoole4.spec b/php-pecl-swoole4.spec
index 55b81d1..8e84760 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.3.1
+Version: 4.3.2
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
# Extension is ASL 2.0
# Hiredis is BSD
@@ -161,6 +161,7 @@ mv %{pecl_name}-%{version} NTS
# Don't install/register tests, install examples as doc
sed \
-e '/Makefile/s/role="doc"/role="src"/' \
+ -e '/samples/s/role="doc"/role="src"/' \
%{?_licensedir: -e '/LICENSE/s/role="doc"/role="src"/' } \
%{?_licensedir: -e '/COPYING/s/role="doc"/role="src"/' } \
-i package.xml
@@ -212,6 +213,7 @@ peclbuild() {
--enable-coroutine-postgresql \
%endif
--enable-mysqlnd \
+ --enable-scheduler-tick \
--with-libdir=%{_lib} \
--with-php-config=$1
@@ -335,6 +337,9 @@ cd ../ZTS
%changelog
+* Mon Apr 15 2019 Remi Collet <remi@remirepo.net> - 4.3.2-1
+- update to 4.3.2
+
* Wed Mar 13 2019 Remi Collet <remi@remirepo.net> - 4.3.1-1
- update to 4.3.1