diff options
author | Remi Collet <remi@remirepo.net> | 2025-10-14 08:10:21 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2025-10-14 08:10:21 +0200 |
commit | e82c414c3657779950323f3d5aa2b552582b4305 (patch) | |
tree | 2dedffd3d5952908d3ee94c53c664fa2fcd1c8cc | |
parent | bd61b6c9dc1c5985b36ab336de49662483aaac45 (diff) |
-rw-r--r-- | PHPINFO | 4 | ||||
-rw-r--r-- | REFLECTION | 211 | ||||
-rw-r--r-- | php-pecl-swoole6.spec | 8 |
3 files changed, 157 insertions, 66 deletions
@@ -3,8 +3,8 @@ swoole Swoole => enabled Author => Swoole Team <team@swoole.com> -Version => 6.1.0RC1 -Built => Sep 1 2025 00:00:00 +Version => 6.1.0RC2 +Built => Oct 14 2025 00:00:00 host byte order => little endian coroutine => enabled with boost asm context trace_log => enabled @@ -1,4 +1,4 @@ -Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { +Extension [ <persistent> extension #119 swoole version 6.1.0RC2 ] { - Dependencies { Dependency [ json (Required) ] @@ -29,13 +29,13 @@ Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { } } - - Constants [414] { - Constant [ string SWOOLE_VERSION ] { 6.1.0RC1 } + - Constants [415] { + Constant [ string SWOOLE_VERSION ] { 6.1.0RC2 } Constant [ int SWOOLE_VERSION_ID ] { 60100 } Constant [ int SWOOLE_MAJOR_VERSION ] { 6 } Constant [ int SWOOLE_MINOR_VERSION ] { 1 } Constant [ int SWOOLE_RELEASE_VERSION ] { 0 } - Constant [ string SWOOLE_EXTRA_VERSION ] { RC1 } + Constant [ string SWOOLE_EXTRA_VERSION ] { } Constant [ bool SWOOLE_DEBUG ] { } Constant [ bool SWOOLE_HAVE_COMPRESSION ] { 1 } Constant [ bool SWOOLE_HAVE_ZLIB ] { 1 } @@ -423,6 +423,7 @@ Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { Constant [ int WEBSOCKET_STATUS_FRAME ] { 3 } Constant [ int WEBSOCKET_STATUS_ACTIVE ] { 3 } Constant [ int WEBSOCKET_STATUS_CLOSING ] { 4 } + Constant [ int WEBSOCKET_STATUS_HANDSHAKE_FAILED ] { 5 } Constant [ int WEBSOCKET_OPCODE_CONTINUATION ] { 0 } Constant [ int WEBSOCKET_OPCODE_TEXT ] { 1 } Constant [ int WEBSOCKET_OPCODE_BINARY ] { 2 } @@ -1260,7 +1261,7 @@ Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { } } - - Classes [52] { + - Classes [53] { Class [ <internal:swoole> class Swoole\Exception extends Exception implements Throwable, Stringable ] { - Constants [0] { @@ -1717,7 +1718,7 @@ Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { Property [ public $errCode = 0 ] } - - Methods [8] { + - Methods [3] { Method [ <internal:swoole, ctor> public method __construct ] { - Parameters [1] { @@ -1725,44 +1726,11 @@ Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { } } - Method [ <internal:swoole> public method __destruct ] { - - - Parameters [0] { - } - } - Method [ <internal:swoole> public method lock ] { - - Parameters [0] { - } - - Return [ bool ] - } - - Method [ <internal:swoole> public method lockwait ] { - - - Parameters [1] { - Parameter #0 [ <optional> float $timeout = 1.0 ] - } - - Return [ bool ] - } - - Method [ <internal:swoole> public method trylock ] { - - - Parameters [0] { - } - - Return [ bool ] - } - - Method [ <internal:swoole> public method lock_read ] { - - - Parameters [0] { - } - - Return [ bool ] - } - - Method [ <internal:swoole> public method trylock_read ] { - - - Parameters [0] { + - Parameters [2] { + Parameter #0 [ <optional> int $operation = LOCK_EX ] + Parameter #1 [ <optional> float $timeout = -1 ] } - Return [ bool ] } @@ -2697,8 +2665,9 @@ Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { Method [ <internal:swoole> static public method cancel ] { - - Parameters [1] { + - Parameters [2] { Parameter #0 [ <required> int $cid ] + Parameter #1 [ <optional> bool $throw_exception = false ] } - Return [ bool ] } @@ -3505,6 +3474,98 @@ Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { } } + Class [ <internal:swoole> final class Swoole\Coroutine\CanceledException extends Exception implements Throwable, Stringable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message = '' ] + Property [ protected $code = 0 ] + Property [ protected string $file = '' ] + Property [ protected int $line = 0 ] + } + + - Methods [10] { + Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <optional> string $message = "" ] + Parameter #1 [ <optional> int $code = 0 ] + Parameter #2 [ <optional> ?Throwable $previous = null ] + } + } + + Method [ <internal:Core, inherits Exception> public method __wakeup ] { + + - Parameters [0] { + } + - Tentative return [ void ] + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { + + - Parameters [0] { + } + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { + + - Parameters [0] { + } + - Return [ ?Throwable ] + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] + } + } + } + Class [ <internal:swoole> class Swoole\Coroutine\System ] { - Constants [0] { @@ -3708,7 +3769,7 @@ Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { Property [ public $errCode = 0 ] } - - Methods [5] { + - Methods [3] { Method [ <internal:swoole, ctor> public method __construct ] { - Parameters [1] { @@ -3716,22 +3777,10 @@ Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { } } - Method [ <internal:swoole> public method __destruct ] { - - - Parameters [0] { - } - } - Method [ <internal:swoole> public method lock ] { - - Parameters [0] { - } - - Return [ bool ] - } - - Method [ <internal:swoole> public method trylock ] { - - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <optional> int $operation = LOCK_EX ] } - Return [ bool ] } @@ -5028,7 +5077,7 @@ Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { Property [ public $body = '' ] } - - Methods [28] { + - Methods [30] { Method [ <internal:swoole, ctor> public method __construct ] { - Parameters [3] { @@ -5246,7 +5295,7 @@ Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { - Parameters [1] { Parameter #0 [ <optional> float $timeout = 0 ] } - - Return [ Swoole\WebSocket\Frame|bool ] + - Return [ Swoole\WebSocket\Frame|string|bool ] } Method [ <internal:swoole> public method close ] { @@ -5255,6 +5304,23 @@ Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { } - Return [ bool ] } + + Method [ <internal:swoole> public method ping ] { + + - Parameters [1] { + Parameter #0 [ <optional> string $data = "" ] + } + - Return [ bool ] + } + + Method [ <internal:swoole> public method disconnect ] { + + - Parameters [2] { + Parameter #0 [ <optional> int $code = SWOOLE_WEBSOCKET_CLOSE_NORMAL ] + Parameter #1 [ <optional> string $reason = "" ] + } + - Return [ bool ] + } } } @@ -6503,7 +6569,7 @@ Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { Property [ public $trailer = NULL ] } - - Methods [22] { + - Methods [23] { Method [ <internal:swoole> public method initHeader ] { - Parameters [0] { @@ -6635,7 +6701,8 @@ Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { Method [ <internal:swoole> public method ping ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <optional> string $data = '' ] } - Return [ bool ] } @@ -6722,6 +6789,15 @@ Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { } - Return [ bool ] } + + Method [ <internal:swoole> public method disconnect ] { + + - Parameters [2] { + Parameter #0 [ <optional> int $code = SWOOLE_WEBSOCKET_CLOSE_NORMAL ] + Parameter #1 [ <optional> string $reason = "" ] + } + - Return [ bool ] + } } } @@ -7390,7 +7466,7 @@ Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { Property [ public $admin_server = NULL ] } - - Methods [48] { + - Methods [49] { Method [ <internal:swoole> public method push ] { - Parameters [4] { @@ -7412,6 +7488,15 @@ Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { - Return [ bool ] } + Method [ <internal:swoole> public method ping ] { + + - Parameters [2] { + Parameter #0 [ <required> int $fd ] + Parameter #1 [ <optional> string $data = "" ] + } + - Return [ bool ] + } + Method [ <internal:swoole> public method isEstablished ] { - Parameters [1] { diff --git a/php-pecl-swoole6.spec b/php-pecl-swoole6.spec index 8b10454..965faf2 100644 --- a/php-pecl-swoole6.spec +++ b/php-pecl-swoole6.spec @@ -49,7 +49,7 @@ %bcond_without nghttpd2 %global upstream_version 6.1.0 -%global upstream_prever RC1 +%global upstream_prever RC2 %global sources %{pecl_name}-%{upstream_version}%{?upstream_prever} %global _configure ../%{sources}/configure @@ -120,9 +120,12 @@ Requires: %{?scl_prefix}php-sockets%{?_isa} Requires: %{?scl_prefix}php-mysqlnd%{?_isa} Requires: %{?scl_prefix}php-pdo%{?_isa} +# Extension Provides: %{?scl_prefix}php-%{pecl_name} = %{version} Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version} +# PECL Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version} +# PIE Provides: %{?scl_prefix}php-pie(%{pie_vend}/%{pie_proj}) = %{version} Provides: %{?scl_prefix}php-%{pie_vend}-%{pie_proj} = %{version} @@ -382,6 +385,9 @@ cd ../ZTS %changelog +* Tue Oct 14 2025 Remi Collet <remi@remirepo.net> - 6.1.0~RC2-1 +- update to 6.1.0RC2 + * Mon Sep 1 2025 Remi Collet <remi@remirepo.net> - 6.1.0~RC1-1 - update to 6.1.0RC1 - enable swoole stdext support |