diff options
author | Remi Collet <remi@remirepo.net> | 2024-10-22 09:05:58 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-10-22 09:05:58 +0200 |
commit | f454e537f193bc6bf68674590234a9ecbd3d6e5c (patch) | |
tree | 55a9abbff7cd17cb2fbd9b0ecdffc5e913e37a30 /REFLECTION | |
parent | a7352a4f9b3c31706492b2e3400197ce53a0632d (diff) |
update to 6.0.0beta
Diffstat (limited to 'REFLECTION')
-rw-r--r-- | REFLECTION | 268 |
1 files changed, 188 insertions, 80 deletions
@@ -1,4 +1,4 @@ -Extension [ <persistent> extension #94 swoole version 6.0.0 ] { +Extension [ <persistent> extension #125 swoole version 6.0.0 ] { - Dependencies { Dependency [ json (Required) ] @@ -29,7 +29,7 @@ Extension [ <persistent> extension #94 swoole version 6.0.0 ] { } } - - Constants [390] { + - Constants [397] { Constant [ string SWOOLE_VERSION ] { 6.0.0 } Constant [ int SWOOLE_VERSION_ID ] { 60000 } Constant [ int SWOOLE_MAJOR_VERSION ] { 6 } @@ -103,6 +103,7 @@ Extension [ <persistent> extension #94 swoole version 6.0.0 ] { Constant [ int SWOOLE_ERROR_WRONG_OPERATION ] { 509 } Constant [ int SWOOLE_ERROR_PHP_RUNTIME_NOTICE ] { 510 } Constant [ int SWOOLE_ERROR_FOR_TEST ] { 511 } + Constant [ int SWOOLE_ERROR_NO_PAYLOAD ] { 550 } Constant [ int SWOOLE_ERROR_UNDEFINED_BEHAVIOR ] { 600 } Constant [ int SWOOLE_ERROR_NOT_THREAD_SAFETY ] { 601 } Constant [ int SWOOLE_ERROR_FILE_NOT_EXIST ] { 700 } @@ -115,6 +116,7 @@ Extension [ <persistent> extension #94 swoole version 6.0.0 ] { Constant [ int SWOOLE_ERROR_DNSLOOKUP_NO_SERVER ] { 714 } Constant [ int SWOOLE_ERROR_BAD_IPV6_ADDRESS ] { 720 } Constant [ int SWOOLE_ERROR_UNREGISTERED_SIGNAL ] { 721 } + Constant [ int SWOOLE_ERROR_BAD_HOST_ADDR ] { 722 } Constant [ int SWOOLE_ERROR_EVENT_SOCKET_REMOVED ] { 800 } Constant [ int SWOOLE_ERROR_SESSION_CLOSED_BY_SERVER ] { 1001 } Constant [ int SWOOLE_ERROR_SESSION_CLOSED_BY_CLIENT ] { 1002 } @@ -163,6 +165,7 @@ Extension [ <persistent> extension #94 swoole version 6.0.0 ] { Constant [ int SWOOLE_ERROR_HTTP_PROXY_BAD_RESPONSE ] { 7104 } Constant [ int SWOOLE_ERROR_HTTP_CONFLICT_HEADER ] { 7105 } Constant [ int SWOOLE_ERROR_HTTP_CONTEXT_UNAVAILABLE ] { 7106 } + Constant [ int SWOOLE_ERROR_HTTP_COOKIE_UNAVAILABLE ] { 7107 } Constant [ int SWOOLE_ERROR_WEBSOCKET_BAD_CLIENT ] { 8501 } Constant [ int SWOOLE_ERROR_WEBSOCKET_BAD_OPCODE ] { 8502 } Constant [ int SWOOLE_ERROR_WEBSOCKET_UNCONNECTED ] { 8503 } @@ -184,6 +187,8 @@ Extension [ <persistent> extension #94 swoole version 6.0.0 ] { Constant [ int SWOOLE_ERROR_SERVER_INVALID_COMMAND ] { 9012 } Constant [ int SWOOLE_ERROR_SERVER_IS_NOT_REGULAR_FILE ] { 9013 } Constant [ int SWOOLE_ERROR_SERVER_SEND_TO_WOKER_TIMEOUT ] { 9014 } + Constant [ int SWOOLE_ERROR_SERVER_INVALID_CALLBACK ] { 9015 } + Constant [ int SWOOLE_ERROR_SERVER_UNRELATED_THREAD ] { 9016 } Constant [ int SWOOLE_ERROR_SERVER_WORKER_EXIT_TIMEOUT ] { 9101 } Constant [ int SWOOLE_ERROR_SERVER_WORKER_ABNORMAL_PIPE_DATA ] { 9102 } Constant [ int SWOOLE_ERROR_SERVER_WORKER_UNPROCESSED_DATA ] { 9103 } @@ -258,6 +263,8 @@ Extension [ <persistent> extension #94 swoole version 6.0.0 ] { Constant [ int SWOOLE_IPC_UNIXSOCK ] { 1 } Constant [ int SWOOLE_IPC_SOCKET ] { 3 } Constant [ int SWOOLE_IOV_MAX ] { 1024 } + Constant [ int SWOOLE_IOURING_DEFAULT ] { 0 } + Constant [ int SWOOLE_IOURING_SQPOLL ] { 2 } Constant [ int SWOOLE_MUTEX ] { 3 } Constant [ int SWOOLE_RWLOCK ] { 1 } Constant [ int SWOOLE_SPINLOCK ] { 5 } @@ -658,19 +665,20 @@ Extension [ <persistent> extension #94 swoole version 6.0.0 ] { } - Return [ mixed ] } - Function [ <internal:swoole> function swoole_test_fn ] { - - - Parameters [1] { - Parameter #0 [ <required> string $case ] - } - - Return [ void ] - } Function [ <internal:swoole> function swoole_internal_call_user_shutdown_begin ] { - Parameters [0] { } - Return [ bool ] } + Function [ <internal:swoole> function swoole_implicit_fn ] { + + - Parameters [2] { + Parameter #0 [ <required> string $fn ] + Parameter #1 [ <optional> mixed $args = null ] + } + - Return [ void ] + } Function [ <internal:swoole> function swoole_get_objects ] { - Parameters [0] { @@ -1033,7 +1041,7 @@ Extension [ <persistent> extension #94 swoole version 6.0.0 ] { } } - - Classes [49] { + - Classes [50] { Class [ <internal:swoole> class Swoole\Exception extends Exception implements Throwable, Stringable ] { - Constants [0] { @@ -1569,7 +1577,7 @@ Extension [ <persistent> extension #94 swoole version 6.0.0 ] { - Static properties [0] { } - - Static methods [6] { + - Static methods [7] { Method [ <internal:swoole> static public method wait ] { - Parameters [1] { @@ -1622,6 +1630,13 @@ Extension [ <persistent> extension #94 swoole version 6.0.0 ] { } - Return [ bool ] } + + Method [ <internal:swoole> static public method getAffinity ] { + + - Parameters [0] { + } + - Return [ array ] + } } - Properties [6] { @@ -2413,7 +2428,7 @@ Extension [ <persistent> extension #94 swoole version 6.0.0 ] { - Static properties [0] { } - - Static methods [40] { + - Static methods [37] { Method [ <internal:swoole> static public method create ] { - Parameters [2] { @@ -2720,33 +2735,6 @@ Extension [ <persistent> extension #94 swoole version 6.0.0 ] { } - Return [ int|false ] } - - Method [ <internal, deprecated:swoole> static public method fread ] { - - - Parameters [2] { - Parameter #0 [ <required> $handle ] - Parameter #1 [ <optional> int $length = 0 ] - } - - Return [ string|false ] - } - - Method [ <internal, deprecated:swoole> static public method fgets ] { - - - Parameters [1] { - Parameter #0 [ <required> $handle ] - } - - Return [ string|false ] - } - - Method [ <internal, deprecated:swoole> static public method fwrite ] { - - - Parameters [3] { - Parameter #0 [ <required> $handle ] - Parameter #1 [ <required> string $data ] - Parameter #2 [ <optional> int $length = 0 ] - } - - Return [ int|false ] - } } - Properties [0] { @@ -3306,7 +3294,7 @@ Extension [ <persistent> extension #94 swoole version 6.0.0 ] { - Static properties [0] { } - - Static methods [15] { + - Static methods [12] { Method [ <internal:swoole> static public method gethostbyname ] { - Parameters [3] { @@ -3419,33 +3407,6 @@ Extension [ <persistent> extension #94 swoole version 6.0.0 ] { } - Return [ int|false ] } - - Method [ <internal, deprecated:swoole> static public method fread ] { - - - Parameters [2] { - Parameter #0 [ <required> $handle ] - Parameter #1 [ <optional> int $length = 0 ] - } - - Return [ string|false ] - } - - Method [ <internal, deprecated:swoole> static public method fwrite ] { - - - Parameters [3] { - Parameter #0 [ <required> $handle ] - Parameter #1 [ <required> string $data ] - Parameter #2 [ <optional> int $length = 0 ] - } - - Return [ int|false ] - } - - Method [ <internal, deprecated:swoole> static public method fgets ] { - - - Parameters [1] { - Parameter #0 [ <required> $handle ] - } - - Return [ string|false ] - } } - Properties [0] { @@ -4918,7 +4879,7 @@ Extension [ <persistent> extension #94 swoole version 6.0.0 ] { - Static methods [0] { } - - Properties [10] { + - Properties [11] { Property [ public $errCode = 0 ] Property [ public $errMsg = '' ] Property [ public $sock = -1 ] @@ -4929,6 +4890,7 @@ Extension [ <persistent> extension #94 swoole version 6.0.0 ] { Property [ public $host = NULL ] Property [ public $port = 0 ] Property [ public $ssl = false ] + Property [ public $serverLastStreamId = 0 ] } - Methods [13] { @@ -5587,7 +5549,7 @@ Extension [ <persistent> extension #94 swoole version 6.0.0 ] { - Parameters [1] { Parameter #0 [ <required> Swoole\Process $process ] } - - Return [ int ] + - Return [ int|false ] } Method [ <internal:swoole> public method stats ] { @@ -5717,8 +5679,9 @@ Extension [ <persistent> extension #94 swoole version 6.0.0 ] { - Static methods [0] { } - - Properties [3] { + - Properties [4] { Property [ public $source_worker_id = 0 ] + Property [ public $worker_id = 0 ] Property [ public $dispatch_time = 0.0 ] Property [ public $data = NULL ] } @@ -6059,7 +6022,7 @@ Extension [ <persistent> extension #94 swoole version 6.0.0 ] { Property [ public $trailer = NULL ] } - - Methods [21] { + - Methods [22] { Method [ <internal:swoole> public method initHeader ] { - Parameters [0] { @@ -6076,8 +6039,8 @@ Extension [ <persistent> extension #94 swoole version 6.0.0 ] { Method [ <internal:swoole> public method cookie ] { - - Parameters [9] { - Parameter #0 [ <required> string $name ] + - Parameters [10] { + Parameter #0 [ <required> Swoole\Http\Cookie|string $name_or_object ] Parameter #1 [ <optional> string $value = '' ] Parameter #2 [ <optional> int $expires = 0 ] Parameter #3 [ <optional> string $path = '/' ] @@ -6086,14 +6049,15 @@ Extension [ <persistent> extension #94 swoole version 6.0.0 ] { Parameter #6 [ <optional> bool $httponly = false ] Parameter #7 [ <optional> string $samesite = '' ] Parameter #8 [ <optional> string $priority = '' ] + Parameter #9 [ <optional> bool $partitioned = false ] } - Return [ bool ] } Method [ <internal:swoole> public method setCookie ] { - - Parameters [9] { - Parameter #0 [ <required> string $name ] + - Parameters [10] { + Parameter #0 [ <required> Swoole\Http\Cookie|string $name_or_object ] Parameter #1 [ <optional> string $value = '' ] Parameter #2 [ <optional> int $expires = 0 ] Parameter #3 [ <optional> string $path = '/' ] @@ -6102,14 +6066,15 @@ Extension [ <persistent> extension #94 swoole version 6.0.0 ] { Parameter #6 [ <optional> bool $httponly = false ] Parameter #7 [ <optional> string $samesite = '' ] Parameter #8 [ <optional> string $priority = '' ] + Parameter #9 [ <optional> bool $partitioned = false ] } - Return [ bool ] } Method [ <internal:swoole> public method rawcookie ] { - - Parameters [9] { - Parameter #0 [ <required> string $name ] + - Parameters [10] { + Parameter #0 [ <required> Swoole\Http\Cookie|string $name_or_object ] Parameter #1 [ <optional> string $value = '' ] Parameter #2 [ <optional> int $expires = 0 ] Parameter #3 [ <optional> string $path = '/' ] @@ -6118,6 +6083,24 @@ Extension [ <persistent> extension #94 swoole version 6.0.0 ] { Parameter #6 [ <optional> bool $httponly = false ] Parameter #7 [ <optional> string $samesite = '' ] Parameter #8 [ <optional> string $priority = '' ] + Parameter #9 [ <optional> bool $partitioned = false ] + } + - Return [ bool ] + } + + Method [ <internal:swoole> public method setRawCookie ] { + + - Parameters [10] { + Parameter #0 [ <required> Swoole\Http\Cookie|string $name_or_object ] + Parameter #1 [ <optional> string $value = '' ] + Parameter #2 [ <optional> int $expires = 0 ] + Parameter #3 [ <optional> string $path = '/' ] + Parameter #4 [ <optional> string $domain = '' ] + Parameter #5 [ <optional> bool $secure = false ] + Parameter #6 [ <optional> bool $httponly = false ] + Parameter #7 [ <optional> string $samesite = '' ] + Parameter #8 [ <optional> string $priority = '' ] + Parameter #9 [ <optional> bool $partitioned = false ] } - Return [ bool ] } @@ -6261,6 +6244,131 @@ Extension [ <persistent> extension #94 swoole version 6.0.0 ] { } } + Class [ <internal:swoole> class Swoole\Http\Cookie ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [14] { + Method [ <internal:swoole, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <optional> bool $encode = true ] + } + } + + Method [ <internal:swoole> public method withName ] { + + - Parameters [1] { + Parameter #0 [ <required> string $name ] + } + - Return [ Swoole\Http\Cookie ] + } + + Method [ <internal:swoole> public method withValue ] { + + - Parameters [1] { + Parameter #0 [ <optional> string $value = '' ] + } + - Return [ Swoole\Http\Cookie ] + } + + Method [ <internal:swoole> public method withExpires ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $expires = 0 ] + } + - Return [ Swoole\Http\Cookie ] + } + + Method [ <internal:swoole> public method withPath ] { + + - Parameters [1] { + Parameter #0 [ <optional> string $path = '/' ] + } + - Return [ Swoole\Http\Cookie ] + } + + Method [ <internal:swoole> public method withDomain ] { + + - Parameters [1] { + Parameter #0 [ <optional> string $domain = '' ] + } + - Return [ Swoole\Http\Cookie ] + } + + Method [ <internal:swoole> public method withSecure ] { + + - Parameters [1] { + Parameter #0 [ <optional> bool $secure = false ] + } + - Return [ Swoole\Http\Cookie ] + } + + Method [ <internal:swoole> public method withHttpOnly ] { + + - Parameters [1] { + Parameter #0 [ <optional> bool $httpOnly = false ] + } + - Return [ Swoole\Http\Cookie ] + } + + Method [ <internal:swoole> public method withSameSite ] { + + - Parameters [1] { + Parameter #0 [ <optional> string $sameSite = '' ] + } + - Return [ Swoole\Http\Cookie ] + } + + Method [ <internal:swoole> public method withPriority ] { + + - Parameters [1] { + Parameter #0 [ <optional> string $priority = '' ] + } + - Return [ Swoole\Http\Cookie ] + } + + Method [ <internal:swoole> public method withPartitioned ] { + + - Parameters [1] { + Parameter #0 [ <optional> bool $partitioned = false ] + } + - Return [ Swoole\Http\Cookie ] + } + + Method [ <internal:swoole> public method toString ] { + + - Parameters [0] { + } + - Return [ string|false ] + } + + Method [ <internal:swoole> public method toArray ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ <internal:swoole> public method reset ] { + + - Parameters [0] { + } + - Return [ void ] + } + } + } + Class [ <internal:swoole> class Swoole\Http\Server extends Swoole\Server ] { - Constants [0] { @@ -6654,7 +6762,7 @@ Extension [ <persistent> extension #94 swoole version 6.0.0 ] { - Parameters [1] { Parameter #0 [ <required> Swoole\Process $process ] } - - Return [ int ] + - Return [ int|false ] } Method [ <internal:swoole, inherits Swoole\Server> public method stats ] { @@ -7195,7 +7303,7 @@ Extension [ <persistent> extension #94 swoole version 6.0.0 ] { - Parameters [1] { Parameter #0 [ <required> Swoole\Process $process ] } - - Return [ int ] + - Return [ int|false ] } Method [ <internal:swoole, inherits Swoole\Server> public method stats ] { @@ -7743,7 +7851,7 @@ Extension [ <persistent> extension #94 swoole version 6.0.0 ] { - Parameters [1] { Parameter #0 [ <required> Swoole\Process $process ] } - - Return [ int ] + - Return [ int|false ] } Method [ <internal:swoole, inherits Swoole\Server> public method stats ] { |