summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PHPINFO4
-rw-r--r--REFLECTION67
-rw-r--r--php-pecl-swoole4.spec5
3 files changed, 34 insertions, 42 deletions
diff --git a/PHPINFO b/PHPINFO
index 782a18e..a6ef50a 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -3,8 +3,8 @@ swoole
Swoole => enabled
Author => Swoole Team <team@swoole.com>
-Version => 4.8.4
-Built => Dec 18 2021 00:00:00
+Version => 4.8.5
+Built => Dec 25 2021 00:00:00
coroutine => enabled with boost asm context
trace_log => enabled
epoll => enabled
diff --git a/REFLECTION b/REFLECTION
index c090c66..9325a22 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #86 swoole version 4.8.4 ] {
+Extension [ <persistent> extension #86 swoole version 4.8.5 ] {
- Dependencies {
Dependency [ json (Required) ]
@@ -28,12 +28,12 @@ Extension [ <persistent> extension #86 swoole version 4.8.4 ] {
}
}
- - Constants [390] {
- Constant [ string SWOOLE_VERSION ] { 4.8.4 }
- Constant [ int SWOOLE_VERSION_ID ] { 40804 }
+ - Constants [393] {
+ Constant [ string SWOOLE_VERSION ] { 4.8.5 }
+ Constant [ int SWOOLE_VERSION_ID ] { 40805 }
Constant [ int SWOOLE_MAJOR_VERSION ] { 4 }
Constant [ int SWOOLE_MINOR_VERSION ] { 8 }
- Constant [ int SWOOLE_RELEASE_VERSION ] { 4 }
+ Constant [ int SWOOLE_RELEASE_VERSION ] { 5 }
Constant [ string SWOOLE_EXTRA_VERSION ] { }
Constant [ bool SWOOLE_DEBUG ] { }
Constant [ bool SWOOLE_HAVE_COMPRESSION ] { 1 }
@@ -132,6 +132,7 @@ Extension [ <persistent> extension #86 swoole version 4.8.4 ] {
Constant [ int SWOOLE_ERROR_PACKAGE_LENGTH_TOO_LARGE ] { 1201 }
Constant [ int SWOOLE_ERROR_PACKAGE_LENGTH_NOT_FOUND ] { 1202 }
Constant [ int SWOOLE_ERROR_DATA_LENGTH_TOO_LARGE ] { 1203 }
+ Constant [ int SWOOLE_ERROR_PACKAGE_MALFORMED_DATA ] { 1204 }
Constant [ int SWOOLE_ERROR_TASK_PACKAGE_TOO_BIG ] { 2001 }
Constant [ int SWOOLE_ERROR_TASK_DISPATCH_FAIL ] { 2002 }
Constant [ int SWOOLE_ERROR_TASK_TIMEOUT ] { 2003 }
@@ -159,6 +160,8 @@ Extension [ <persistent> extension #86 swoole version 4.8.4 ] {
Constant [ int SWOOLE_ERROR_WEBSOCKET_UNCONNECTED ] { 8503 }
Constant [ int SWOOLE_ERROR_WEBSOCKET_HANDSHAKE_FAILED ] { 8504 }
Constant [ int SWOOLE_ERROR_WEBSOCKET_PACK_FAILED ] { 8505 }
+ Constant [ int SWOOLE_ERROR_WEBSOCKET_UNPACK_FAILED ] { 8506 }
+ Constant [ int SWOOLE_ERROR_WEBSOCKET_INCOMPLETE_PACKET ] { 8507 }
Constant [ int SWOOLE_ERROR_SERVER_MUST_CREATED_BEFORE_CLIENT ] { 9001 }
Constant [ int SWOOLE_ERROR_SERVER_TOO_MANY_SOCKET ] { 9002 }
Constant [ int SWOOLE_ERROR_SERVER_WORKER_TERMINATED ] { 9003 }
@@ -2004,51 +2007,46 @@ Extension [ <persistent> extension #86 swoole version 4.8.4 ] {
Method [ <internal:swoole, ctor> public method __construct ] {
- Parameters [2] {
- Parameter #0 [ <required> int $table_size ]
- Parameter #1 [ <optional> float $conflict_proportion = 0.2 ]
+ Parameter #0 [ <required> $table_size ]
+ Parameter #1 [ <optional> $conflict_proportion = <default> ]
}
}
Method [ <internal:swoole> public method column ] {
- Parameters [3] {
- Parameter #0 [ <required> string $name ]
- Parameter #1 [ <required> int $type ]
- Parameter #2 [ <optional> int $size = 0 ]
+ Parameter #0 [ <required> $name ]
+ Parameter #1 [ <required> $type ]
+ Parameter #2 [ <optional> $size = <default> ]
}
- - Return [ bool ]
}
Method [ <internal:swoole> public method create ] {
- Parameters [0] {
}
- - Return [ bool ]
}
Method [ <internal:swoole> public method destroy ] {
- Parameters [0] {
}
- - Return [ bool ]
}
Method [ <internal:swoole> public method set ] {
- Parameters [2] {
- Parameter #0 [ <required> string $key ]
+ Parameter #0 [ <required> $key ]
Parameter #1 [ <required> array $value ]
}
- - Return [ bool ]
}
Method [ <internal:swoole> public method get ] {
- Parameters [2] {
- Parameter #0 [ <required> string $key ]
- Parameter #1 [ <optional> ?string $field = null ]
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <optional> $field = <default> ]
}
- - Return [ array|string|int|float|false ]
}
Method [ <internal:swoole, prototype Countable> public method count ] {
@@ -2061,74 +2059,65 @@ Extension [ <persistent> extension #86 swoole version 4.8.4 ] {
Method [ <internal:swoole> public method del ] {
- Parameters [1] {
- Parameter #0 [ <required> string $key ]
+ Parameter #0 [ <required> $key ]
}
- - Return [ bool ]
}
Method [ <internal:swoole> public method delete ] {
- Parameters [1] {
- Parameter #0 [ <required> string $key ]
+ Parameter #0 [ <required> $key ]
}
- - Return [ bool ]
}
Method [ <internal:swoole> public method exists ] {
- Parameters [1] {
- Parameter #0 [ <required> string $key ]
+ Parameter #0 [ <required> $key ]
}
- - Return [ bool ]
}
Method [ <internal:swoole> public method exist ] {
- Parameters [1] {
- Parameter #0 [ <required> string $key ]
+ Parameter #0 [ <required> $key ]
}
- - Return [ bool ]
}
Method [ <internal:swoole> public method incr ] {
- Parameters [3] {
- Parameter #0 [ <required> string $key ]
- Parameter #1 [ <required> string $column ]
- Parameter #2 [ <optional> int|float $incrby = 1 ]
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $column ]
+ Parameter #2 [ <optional> $incrby = <default> ]
}
- - Return [ int|float ]
}
Method [ <internal:swoole> public method decr ] {
- Parameters [3] {
- Parameter #0 [ <required> string $key ]
- Parameter #1 [ <required> string $column ]
- Parameter #2 [ <optional> int|float $incrby = 1 ]
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $column ]
+ Parameter #2 [ <optional> $decrby = <default> ]
}
- - Return [ int|float ]
}
Method [ <internal:swoole> public method getSize ] {
- Parameters [0] {
}
- - Return [ int ]
}
Method [ <internal:swoole> public method getMemorySize ] {
- Parameters [0] {
}
- - Return [ int ]
}
Method [ <internal:swoole> public method stats ] {
- Parameters [0] {
}
- - Return [ array|false ]
}
Method [ <internal:swoole, prototype Iterator> public method rewind ] {
@@ -2156,14 +2145,14 @@ Extension [ <persistent> extension #86 swoole version 4.8.4 ] {
- Parameters [0] {
}
- - Return [ ?array ]
+ - Return [ mixed ]
}
Method [ <internal:swoole, prototype Iterator> public method key ] {
- Parameters [0] {
}
- - Return [ ?string ]
+ - Return [ mixed ]
}
}
}
diff --git a/php-pecl-swoole4.spec b/php-pecl-swoole4.spec
index 8b95d1c..a69d560 100644
--- a/php-pecl-swoole4.spec
+++ b/php-pecl-swoole4.spec
@@ -26,7 +26,7 @@
%bcond_with brotli
%endif
-%global upstream_version 4.8.4
+%global upstream_version 4.8.5
#global upstream_prever RC2
@@ -320,6 +320,9 @@ cd ../ZTS
%changelog
+* Sat Dec 25 2021 Remi Collet <remi@remirepo.net> - 4.8.5-1
+- update to 4.8.5
+
* Sat Dec 18 2021 Remi Collet <remi@remirepo.net> - 4.8.4-1
- update to 4.8.4