summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-09-30 10:35:30 +0200
committerRemi Collet <remi@remirepo.net>2020-09-30 10:35:30 +0200
commit9ebcbe8204e99f6617c791ec8a851589bb9f3cb8 (patch)
treebfd16491f9d788ccac44ebe5e5374daa18418edd
parent65ac2cff6d1893260d88634d8cb191df68a40bc8 (diff)
rebuild for PHP 8.0.0RC1
-rw-r--r--PHPINFO6
-rw-r--r--REFLECTION1430
-rw-r--r--php-pecl-http.spec58
3 files changed, 893 insertions, 601 deletions
diff --git a/PHPINFO b/PHPINFO
index dd2c02e..d6c2d1b 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -2,13 +2,13 @@
http
HTTP Support => enabled
-Extension Version => 3.2.3
+Extension Version => 4.0.0beta1
Used Library => Compiled => Linked
libz => 1.2.11 => 1.2.11
-libcurl => 7.61.1 => 7.61.1
+libcurl => 7.66.0 => 7.66.0
libevent => 2.1.8-stable => 2.1.8-stable
-libicu (IDNA2008/IDNA2003) => 62.2 => 62.2
+libicu (IDNA2008/IDNA2003) => 65.1 => 65.1
libidn2 (IDNA2008) => disabled => disabled
libidn (IDNA2003) => disabled => disabled
libidnkit2 (IDNA2008) => disabled => disabled
diff --git a/REFLECTION b/REFLECTION
index 37d70a4..bf773e7 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,10 +1,8 @@
-Extension [ <persistent> extension #191 http version 3.2.3 ] {
+Extension [ <persistent> extension #113 http version 4.0.0beta1 ] {
- Dependencies {
Dependency [ raphf (Required) ]
- Dependency [ propro (Required) ]
Dependency [ spl (Required) ]
- Dependency [ hash (Required) ]
}
- INI {
@@ -14,62 +12,62 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
}
- Constants [56] {
- Constant [ integer http\Client\Curl\FEATURES ] { 12568477 }
- Constant [ integer http\Client\Curl\Features\IPV6 ] { 1 }
- Constant [ integer http\Client\Curl\Features\KERBEROS4 ] { 2 }
- Constant [ integer http\Client\Curl\Features\KERBEROS5 ] { 262144 }
- Constant [ integer http\Client\Curl\Features\SSL ] { 4 }
- Constant [ integer http\Client\Curl\Features\LIBZ ] { 8 }
- Constant [ integer http\Client\Curl\Features\NTLM ] { 16 }
- Constant [ integer http\Client\Curl\Features\GSSNEGOTIATE ] { 32 }
- Constant [ integer http\Client\Curl\Features\ASYNCHDNS ] { 128 }
- Constant [ integer http\Client\Curl\Features\SPNEGO ] { 256 }
- Constant [ integer http\Client\Curl\Features\LARGEFILE ] { 512 }
- Constant [ integer http\Client\Curl\Features\IDN ] { 1024 }
- Constant [ integer http\Client\Curl\Features\SSPI ] { 2048 }
- Constant [ integer http\Client\Curl\Features\GSSAPI ] { 131072 }
- Constant [ integer http\Client\Curl\Features\TLSAUTH_SRP ] { 16384 }
- Constant [ integer http\Client\Curl\Features\NTLM_WB ] { 32768 }
- Constant [ integer http\Client\Curl\Features\HTTP2 ] { 65536 }
- Constant [ integer http\Client\Curl\Features\UNIX_SOCKETS ] { 524288 }
- Constant [ integer http\Client\Curl\Features\PSL ] { 1048576 }
- Constant [ string http\Client\Curl\VERSIONS ] { libcurl/7.61.1 OpenSSL/1.1.1d zlib/1.2.11 brotli/1.0.5 libidn2/2.2.0 libpsl/0.20.2 (+libidn2/2.0.5) libssh/0.8.7/openssl/zlib nghttp2/1.39.2 }
- Constant [ string http\Client\Curl\Versions\CURL ] { 7.61.1 }
- Constant [ string http\Client\Curl\Versions\SSL ] { OpenSSL/1.1.1d }
+ Constant [ int http\Client\Curl\FEATURES ] { 12568477 }
+ Constant [ int http\Client\Curl\Features\IPV6 ] { 1 }
+ Constant [ int http\Client\Curl\Features\KERBEROS4 ] { 2 }
+ Constant [ int http\Client\Curl\Features\KERBEROS5 ] { 262144 }
+ Constant [ int http\Client\Curl\Features\SSL ] { 4 }
+ Constant [ int http\Client\Curl\Features\LIBZ ] { 8 }
+ Constant [ int http\Client\Curl\Features\NTLM ] { 16 }
+ Constant [ int http\Client\Curl\Features\GSSNEGOTIATE ] { 32 }
+ Constant [ int http\Client\Curl\Features\ASYNCHDNS ] { 128 }
+ Constant [ int http\Client\Curl\Features\SPNEGO ] { 256 }
+ Constant [ int http\Client\Curl\Features\LARGEFILE ] { 512 }
+ Constant [ int http\Client\Curl\Features\IDN ] { 1024 }
+ Constant [ int http\Client\Curl\Features\SSPI ] { 2048 }
+ Constant [ int http\Client\Curl\Features\GSSAPI ] { 131072 }
+ Constant [ int http\Client\Curl\Features\TLSAUTH_SRP ] { 16384 }
+ Constant [ int http\Client\Curl\Features\NTLM_WB ] { 32768 }
+ Constant [ int http\Client\Curl\Features\HTTP2 ] { 65536 }
+ Constant [ int http\Client\Curl\Features\UNIX_SOCKETS ] { 524288 }
+ Constant [ int http\Client\Curl\Features\PSL ] { 1048576 }
+ Constant [ string http\Client\Curl\VERSIONS ] { libcurl/7.66.0 OpenSSL/1.1.1g-fips zlib/1.2.11 brotli/1.0.7 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.4/openssl/zlib nghttp2/1.40.0 }
+ Constant [ string http\Client\Curl\Versions\CURL ] { 7.66.0 }
+ Constant [ string http\Client\Curl\Versions\SSL ] { OpenSSL/1.1.1g-fips }
Constant [ string http\Client\Curl\Versions\LIBZ ] { 1.2.11 }
- Constant [ integer http\Client\Curl\HTTP_VERSION_1_0 ] { 1 }
- Constant [ integer http\Client\Curl\HTTP_VERSION_1_1 ] { 2 }
- Constant [ integer http\Client\Curl\HTTP_VERSION_2_0 ] { 3 }
- Constant [ integer http\Client\Curl\HTTP_VERSION_2TLS ] { 4 }
- Constant [ integer http\Client\Curl\HTTP_VERSION_ANY ] { 0 }
- Constant [ integer http\Client\Curl\SSL_VERSION_TLSv1 ] { 1 }
- Constant [ integer http\Client\Curl\SSL_VERSION_TLSv1_0 ] { 4 }
- Constant [ integer http\Client\Curl\SSL_VERSION_TLSv1_1 ] { 5 }
- Constant [ integer http\Client\Curl\SSL_VERSION_TLSv1_2 ] { 6 }
- Constant [ integer http\Client\Curl\SSL_VERSION_SSLv2 ] { 2 }
- Constant [ integer http\Client\Curl\SSL_VERSION_SSLv3 ] { 3 }
- Constant [ integer http\Client\Curl\SSL_VERSION_ANY ] { 0 }
- Constant [ integer http\Client\Curl\TLSAUTH_SRP ] { 1 }
- Constant [ integer http\Client\Curl\IPRESOLVE_V4 ] { 1 }
- Constant [ integer http\Client\Curl\IPRESOLVE_V6 ] { 2 }
- Constant [ integer http\Client\Curl\IPRESOLVE_ANY ] { 0 }
- Constant [ integer http\Client\Curl\AUTH_BASIC ] { 1 }
- Constant [ integer http\Client\Curl\AUTH_DIGEST ] { 2 }
- Constant [ integer http\Client\Curl\AUTH_DIGEST_IE ] { 16 }
- Constant [ integer http\Client\Curl\AUTH_NTLM ] { 8 }
- Constant [ integer http\Client\Curl\AUTH_GSSNEG ] { 4 }
- Constant [ integer http\Client\Curl\AUTH_SPNEGO ] { 4 }
- Constant [ integer http\Client\Curl\AUTH_ANY ] { -17 }
- Constant [ integer http\Client\Curl\PROXY_SOCKS4 ] { 4 }
- Constant [ integer http\Client\Curl\PROXY_SOCKS4A ] { 5 }
- Constant [ integer http\Client\Curl\PROXY_SOCKS5_HOSTNAME ] { 5 }
- Constant [ integer http\Client\Curl\PROXY_SOCKS5 ] { 5 }
- Constant [ integer http\Client\Curl\PROXY_HTTP ] { 0 }
- Constant [ integer http\Client\Curl\PROXY_HTTP_1_0 ] { 1 }
- Constant [ integer http\Client\Curl\POSTREDIR_301 ] { 1 }
- Constant [ integer http\Client\Curl\POSTREDIR_302 ] { 2 }
- Constant [ integer http\Client\Curl\POSTREDIR_303 ] { 4 }
- Constant [ integer http\Client\Curl\POSTREDIR_ALL ] { 7 }
+ Constant [ int http\Client\Curl\HTTP_VERSION_1_0 ] { 1 }
+ Constant [ int http\Client\Curl\HTTP_VERSION_1_1 ] { 2 }
+ Constant [ int http\Client\Curl\HTTP_VERSION_2_0 ] { 3 }
+ Constant [ int http\Client\Curl\HTTP_VERSION_2TLS ] { 4 }
+ Constant [ int http\Client\Curl\HTTP_VERSION_ANY ] { 0 }
+ Constant [ int http\Client\Curl\SSL_VERSION_TLSv1 ] { 1 }
+ Constant [ int http\Client\Curl\SSL_VERSION_TLSv1_0 ] { 4 }
+ Constant [ int http\Client\Curl\SSL_VERSION_TLSv1_1 ] { 5 }
+ Constant [ int http\Client\Curl\SSL_VERSION_TLSv1_2 ] { 6 }
+ Constant [ int http\Client\Curl\SSL_VERSION_SSLv2 ] { 2 }
+ Constant [ int http\Client\Curl\SSL_VERSION_SSLv3 ] { 3 }
+ Constant [ int http\Client\Curl\SSL_VERSION_ANY ] { 0 }
+ Constant [ int http\Client\Curl\TLSAUTH_SRP ] { 1 }
+ Constant [ int http\Client\Curl\IPRESOLVE_V4 ] { 1 }
+ Constant [ int http\Client\Curl\IPRESOLVE_V6 ] { 2 }
+ Constant [ int http\Client\Curl\IPRESOLVE_ANY ] { 0 }
+ Constant [ int http\Client\Curl\AUTH_BASIC ] { 1 }
+ Constant [ int http\Client\Curl\AUTH_DIGEST ] { 2 }
+ Constant [ int http\Client\Curl\AUTH_DIGEST_IE ] { 16 }
+ Constant [ int http\Client\Curl\AUTH_NTLM ] { 8 }
+ Constant [ int http\Client\Curl\AUTH_GSSNEG ] { 4 }
+ Constant [ int http\Client\Curl\AUTH_SPNEGO ] { 4 }
+ Constant [ int http\Client\Curl\AUTH_ANY ] { -17 }
+ Constant [ int http\Client\Curl\PROXY_SOCKS4 ] { 4 }
+ Constant [ int http\Client\Curl\PROXY_SOCKS4A ] { 5 }
+ Constant [ int http\Client\Curl\PROXY_SOCKS5_HOSTNAME ] { 5 }
+ Constant [ int http\Client\Curl\PROXY_SOCKS5 ] { 5 }
+ Constant [ int http\Client\Curl\PROXY_HTTP ] { 0 }
+ Constant [ int http\Client\Curl\PROXY_HTTP_1_0 ] { 1 }
+ Constant [ int http\Client\Curl\POSTREDIR_301 ] { 1 }
+ Constant [ int http\Client\Curl\POSTREDIR_302 ] { 2 }
+ Constant [ int http\Client\Curl\POSTREDIR_303 ] { 4 }
+ Constant [ int http\Client\Curl\POSTREDIR_ALL ] { 7 }
}
- Classes [33] {
@@ -91,7 +89,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
}
}
- Class [ <internal:http> class http\Exception\RuntimeException extends RuntimeException implements Throwable, http\Exception ] {
+ Class [ <internal:http> class http\Exception\RuntimeException extends RuntimeException implements Throwable, Stringable, http\Exception ] {
- Constants [0] {
}
@@ -103,52 +101,86 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
}
- Properties [4] {
- Property [ <default> protected $message ]
- Property [ <default> protected $code ]
- Property [ <default> protected $file ]
- Property [ <default> protected $line ]
+ Property [ protected $message = '' ]
+ Property [ protected $code = 0 ]
+ Property [ protected $file = NULL ]
+ Property [ protected $line = NULL ]
}
- 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 ]
+ Parameter #0 [ <optional> string $message = <default> ]
+ Parameter #1 [ <optional> int $code = 0 ]
+ Parameter #2 [ <optional> ?Throwable $previous = null ]
}
}
Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
}
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 Throwable> public method __toString ] {
+ Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
}
}
- Class [ <internal:http> class http\Exception\UnexpectedValueException extends UnexpectedValueException implements Throwable, http\Exception ] {
+ Class [ <internal:http> class http\Exception\UnexpectedValueException extends UnexpectedValueException implements Stringable, Throwable, http\Exception ] {
- Constants [0] {
}
@@ -160,52 +192,86 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
}
- Properties [4] {
- Property [ <default> protected $message ]
- Property [ <default> protected $code ]
- Property [ <default> protected $file ]
- Property [ <default> protected $line ]
+ Property [ protected $message = '' ]
+ Property [ protected $code = 0 ]
+ Property [ protected $file = NULL ]
+ Property [ protected $line = NULL ]
}
- 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 ]
+ Parameter #0 [ <optional> string $message = <default> ]
+ Parameter #1 [ <optional> int $code = 0 ]
+ Parameter #2 [ <optional> ?Throwable $previous = null ]
}
}
Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
}
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 Throwable> public method __toString ] {
+ Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
}
}
- Class [ <internal:http> class http\Exception\BadMethodCallException extends BadMethodCallException implements Throwable, http\Exception ] {
+ Class [ <internal:http> class http\Exception\BadMethodCallException extends BadMethodCallException implements Throwable, Stringable, http\Exception ] {
- Constants [0] {
}
@@ -217,52 +283,86 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
}
- Properties [4] {
- Property [ <default> protected $message ]
- Property [ <default> protected $code ]
- Property [ <default> protected $file ]
- Property [ <default> protected $line ]
+ Property [ protected $message = '' ]
+ Property [ protected $code = 0 ]
+ Property [ protected $file = NULL ]
+ Property [ protected $line = NULL ]
}
- 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 ]
+ Parameter #0 [ <optional> string $message = <default> ]
+ Parameter #1 [ <optional> int $code = 0 ]
+ Parameter #2 [ <optional> ?Throwable $previous = null ]
}
}
Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
}
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 Throwable> public method __toString ] {
+ Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
}
}
- Class [ <internal:http> class http\Exception\InvalidArgumentException extends InvalidArgumentException implements Throwable, http\Exception ] {
+ Class [ <internal:http> class http\Exception\InvalidArgumentException extends InvalidArgumentException implements Stringable, Throwable, http\Exception ] {
- Constants [0] {
}
@@ -274,52 +374,86 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
}
- Properties [4] {
- Property [ <default> protected $message ]
- Property [ <default> protected $code ]
- Property [ <default> protected $file ]
- Property [ <default> protected $line ]
+ Property [ protected $message = '' ]
+ Property [ protected $code = 0 ]
+ Property [ protected $file = NULL ]
+ Property [ protected $line = NULL ]
}
- 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 ]
+ Parameter #0 [ <optional> string $message = <default> ]
+ Parameter #1 [ <optional> int $code = 0 ]
+ Parameter #2 [ <optional> ?Throwable $previous = null ]
}
}
Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
}
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 Throwable> public method __toString ] {
+ Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
}
}
- Class [ <internal:http> class http\Exception\BadHeaderException extends DomainException implements Throwable, http\Exception ] {
+ Class [ <internal:http> class http\Exception\BadHeaderException extends DomainException implements Stringable, Throwable, http\Exception ] {
- Constants [0] {
}
@@ -331,52 +465,86 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
}
- Properties [4] {
- Property [ <default> protected $message ]
- Property [ <default> protected $code ]
- Property [ <default> protected $file ]
- Property [ <default> protected $line ]
+ Property [ protected $message = '' ]
+ Property [ protected $code = 0 ]
+ Property [ protected $file = NULL ]
+ Property [ protected $line = NULL ]
}
- 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 ]
+ Parameter #0 [ <optional> string $message = <default> ]
+ Parameter #1 [ <optional> int $code = 0 ]
+ Parameter #2 [ <optional> ?Throwable $previous = null ]
}
}
Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
}
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 Throwable> public method __toString ] {
+ Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
}
}
- Class [ <internal:http> class http\Exception\BadUrlException extends DomainException implements Throwable, http\Exception ] {
+ Class [ <internal:http> class http\Exception\BadUrlException extends DomainException implements Stringable, Throwable, http\Exception ] {
- Constants [0] {
}
@@ -388,52 +556,86 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
}
- Properties [4] {
- Property [ <default> protected $message ]
- Property [ <default> protected $code ]
- Property [ <default> protected $file ]
- Property [ <default> protected $line ]
+ Property [ protected $message = '' ]
+ Property [ protected $code = 0 ]
+ Property [ protected $file = NULL ]
+ Property [ protected $line = NULL ]
}
- 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 ]
+ Parameter #0 [ <optional> string $message = <default> ]
+ Parameter #1 [ <optional> int $code = 0 ]
+ Parameter #2 [ <optional> ?Throwable $previous = null ]
}
}
Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
}
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 Throwable> public method __toString ] {
+ Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
}
}
- Class [ <internal:http> class http\Exception\BadMessageException extends DomainException implements Throwable, http\Exception ] {
+ Class [ <internal:http> class http\Exception\BadMessageException extends DomainException implements Stringable, Throwable, http\Exception ] {
- Constants [0] {
}
@@ -445,52 +647,86 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
}
- Properties [4] {
- Property [ <default> protected $message ]
- Property [ <default> protected $code ]
- Property [ <default> protected $file ]
- Property [ <default> protected $line ]
+ Property [ protected $message = '' ]
+ Property [ protected $code = 0 ]
+ Property [ protected $file = NULL ]
+ Property [ protected $line = NULL ]
}
- 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 ]
+ Parameter #0 [ <optional> string $message = <default> ]
+ Parameter #1 [ <optional> int $code = 0 ]
+ Parameter #2 [ <optional> ?Throwable $previous = null ]
}
}
Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
}
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 Throwable> public method __toString ] {
+ Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
}
}
- Class [ <internal:http> class http\Exception\BadConversionException extends DomainException implements Throwable, http\Exception ] {
+ Class [ <internal:http> class http\Exception\BadConversionException extends DomainException implements Stringable, Throwable, http\Exception ] {
- Constants [0] {
}
@@ -502,52 +738,86 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
}
- Properties [4] {
- Property [ <default> protected $message ]
- Property [ <default> protected $code ]
- Property [ <default> protected $file ]
- Property [ <default> protected $line ]
+ Property [ protected $message = '' ]
+ Property [ protected $code = 0 ]
+ Property [ protected $file = NULL ]
+ Property [ protected $line = NULL ]
}
- 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 ]
+ Parameter #0 [ <optional> string $message = <default> ]
+ Parameter #1 [ <optional> int $code = 0 ]
+ Parameter #2 [ <optional> ?Throwable $previous = null ]
}
}
Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
}
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 Throwable> public method __toString ] {
+ Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
}
}
- Class [ <internal:http> class http\Exception\BadQueryStringException extends DomainException implements Throwable, http\Exception ] {
+ Class [ <internal:http> class http\Exception\BadQueryStringException extends DomainException implements Stringable, Throwable, http\Exception ] {
- Constants [0] {
}
@@ -559,47 +829,81 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
}
- Properties [4] {
- Property [ <default> protected $message ]
- Property [ <default> protected $code ]
- Property [ <default> protected $file ]
- Property [ <default> protected $line ]
+ Property [ protected $message = '' ]
+ Property [ protected $code = 0 ]
+ Property [ protected $file = NULL ]
+ Property [ protected $line = NULL ]
}
- 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 ]
+ Parameter #0 [ <optional> string $message = <default> ]
+ Parameter #1 [ <optional> int $code = 0 ]
+ Parameter #2 [ <optional> ?Throwable $previous = null ]
}
}
Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
}
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 Throwable> public method __toString ] {
+ Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
}
}
@@ -607,9 +911,9 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Class [ <internal:http> class http\Cookie ] {
- Constants [3] {
- Constant [ public integer PARSE_RAW ] { 1 }
- Constant [ public integer SECURE ] { 16 }
- Constant [ public integer HTTPONLY ] { 32 }
+ Constant [ public int PARSE_RAW ] { 1 }
+ Constant [ public int SECURE ] { 16 }
+ Constant [ public int HTTPONLY ] { 32 }
}
- Static properties [0] {
@@ -625,9 +929,9 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http, ctor> public method __construct ] {
- Parameters [3] {
- Parameter #0 [ <optional> $cookie_string ]
- Parameter #1 [ <optional> $parser_flags ]
- Parameter #2 [ <optional> $allowed_extras ]
+ Parameter #0 [ <optional> $cookie_string = <default> ]
+ Parameter #1 [ <optional> $parser_flags = <default> ]
+ Parameter #2 [ <optional> $allowed_extras = <default> ]
}
}
@@ -640,7 +944,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http> public method setCookies ] {
- Parameters [1] {
- Parameter #0 [ <optional> $cookies ]
+ Parameter #0 [ <optional> $cookies = <default> ]
}
}
@@ -662,7 +966,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> $cookie_name ]
- Parameter #1 [ <optional> $cookie_value ]
+ Parameter #1 [ <optional> $cookie_value = <default> ]
}
}
@@ -683,7 +987,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http> public method setExtras ] {
- Parameters [1] {
- Parameter #0 [ <optional> $extras ]
+ Parameter #0 [ <optional> $extras = <default> ]
}
}
@@ -705,7 +1009,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> $extra_name ]
- Parameter #1 [ <optional> $extra_value ]
+ Parameter #1 [ <optional> $extra_value = <default> ]
}
}
@@ -726,7 +1030,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http> public method setDomain ] {
- Parameters [1] {
- Parameter #0 [ <optional> $value ]
+ Parameter #0 [ <optional> $value = <default> ]
}
}
@@ -739,7 +1043,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http> public method setPath ] {
- Parameters [1] {
- Parameter #0 [ <optional> $value ]
+ Parameter #0 [ <optional> $value = <default> ]
}
}
@@ -752,7 +1056,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http> public method setExpires ] {
- Parameters [1] {
- Parameter #0 [ <optional> $value ]
+ Parameter #0 [ <optional> $value = <default> ]
}
}
@@ -765,7 +1069,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http> public method setMaxAge ] {
- Parameters [1] {
- Parameter #0 [ <optional> $value ]
+ Parameter #0 [ <optional> $value = <default> ]
}
}
@@ -778,7 +1082,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http> public method setFlags ] {
- Parameters [1] {
- Parameter #0 [ <optional> $value ]
+ Parameter #0 [ <optional> $value = <default> ]
}
}
@@ -805,9 +1109,9 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Class [ <internal:http> abstract class http\Encoding\Stream ] {
- Constants [3] {
- Constant [ public integer FLUSH_NONE ] { 0 }
- Constant [ public integer FLUSH_SYNC ] { 1048576 }
- Constant [ public integer FLUSH_FULL ] { 2097152 }
+ Constant [ public int FLUSH_NONE ] { 0 }
+ Constant [ public int FLUSH_SYNC ] { 1048576 }
+ Constant [ public int FLUSH_FULL ] { 2097152 }
}
- Static properties [0] {
@@ -823,7 +1127,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http, ctor> public method __construct ] {
- Parameters [1] {
- Parameter #0 [ <optional> $flags ]
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -857,9 +1161,9 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Class [ <internal:http> class http\Encoding\Stream\Dechunk extends http\Encoding\Stream ] {
- Constants [3] {
- Constant [ public integer FLUSH_NONE ] { 0 }
- Constant [ public integer FLUSH_SYNC ] { 1048576 }
- Constant [ public integer FLUSH_FULL ] { 2097152 }
+ Constant [ public int FLUSH_NONE ] { 0 }
+ Constant [ public int FLUSH_SYNC ] { 1048576 }
+ Constant [ public int FLUSH_FULL ] { 2097152 }
}
- Static properties [0] {
@@ -870,7 +1174,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> $data ]
- Parameter #1 [ <optional> &$decoded_len ]
+ Parameter #1 [ <optional> &$decoded_len = <default> ]
}
}
}
@@ -882,7 +1186,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http, inherits http\Encoding\Stream, ctor> public method __construct ] {
- Parameters [1] {
- Parameter #0 [ <optional> $flags ]
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -916,20 +1220,20 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Class [ <internal:http> class http\Encoding\Stream\Deflate extends http\Encoding\Stream ] {
- Constants [14] {
- Constant [ public integer FLUSH_NONE ] { 0 }
- Constant [ public integer FLUSH_SYNC ] { 1048576 }
- Constant [ public integer FLUSH_FULL ] { 2097152 }
- Constant [ public integer TYPE_GZIP ] { 16 }
- Constant [ public integer TYPE_ZLIB ] { 0 }
- Constant [ public integer TYPE_RAW ] { 32 }
- Constant [ public integer LEVEL_DEF ] { 0 }
- Constant [ public integer LEVEL_MIN ] { 1 }
- Constant [ public integer LEVEL_MAX ] { 9 }
- Constant [ public integer STRATEGY_DEF ] { 0 }
- Constant [ public integer STRATEGY_FILT ] { 256 }
- Constant [ public integer STRATEGY_HUFF ] { 512 }
- Constant [ public integer STRATEGY_RLE ] { 768 }
- Constant [ public integer STRATEGY_FIXED ] { 1024 }
+ Constant [ public int FLUSH_NONE ] { 0 }
+ Constant [ public int FLUSH_SYNC ] { 1048576 }
+ Constant [ public int FLUSH_FULL ] { 2097152 }
+ Constant [ public int TYPE_GZIP ] { 16 }
+ Constant [ public int TYPE_ZLIB ] { 0 }
+ Constant [ public int TYPE_RAW ] { 32 }
+ Constant [ public int LEVEL_DEF ] { 0 }
+ Constant [ public int LEVEL_MIN ] { 1 }
+ Constant [ public int LEVEL_MAX ] { 9 }
+ Constant [ public int STRATEGY_DEF ] { 0 }
+ Constant [ public int STRATEGY_FILT ] { 256 }
+ Constant [ public int STRATEGY_HUFF ] { 512 }
+ Constant [ public int STRATEGY_RLE ] { 768 }
+ Constant [ public int STRATEGY_FIXED ] { 1024 }
}
- Static properties [0] {
@@ -940,7 +1244,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> $data ]
- Parameter #1 [ <optional> $flags ]
+ Parameter #1 [ <optional> $flags = <default> ]
}
}
}
@@ -952,7 +1256,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http, inherits http\Encoding\Stream, ctor> public method __construct ] {
- Parameters [1] {
- Parameter #0 [ <optional> $flags ]
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -986,9 +1290,9 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Class [ <internal:http> class http\Encoding\Stream\Inflate extends http\Encoding\Stream ] {
- Constants [3] {
- Constant [ public integer FLUSH_NONE ] { 0 }
- Constant [ public integer FLUSH_SYNC ] { 1048576 }
- Constant [ public integer FLUSH_FULL ] { 2097152 }
+ Constant [ public int FLUSH_NONE ] { 0 }
+ Constant [ public int FLUSH_SYNC ] { 1048576 }
+ Constant [ public int FLUSH_FULL ] { 2097152 }
}
- Static properties [0] {
@@ -1010,7 +1314,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http, inherits http\Encoding\Stream, ctor> public method __construct ] {
- Parameters [1] {
- Parameter #0 [ <optional> $flags ]
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -1044,18 +1348,18 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Class [ <internal:http> class http\Encoding\Stream\Enbrotli extends http\Encoding\Stream ] {
- Constants [12] {
- Constant [ public integer FLUSH_NONE ] { 0 }
- Constant [ public integer FLUSH_SYNC ] { 1048576 }
- Constant [ public integer FLUSH_FULL ] { 2097152 }
- Constant [ public integer LEVEL_MIN ] { 1 }
- Constant [ public integer LEVEL_DEF ] { 4 }
- Constant [ public integer LEVEL_MAX ] { 11 }
- Constant [ public integer WBITS_MIN ] { 160 }
- Constant [ public integer WBITS_DEF ] { 352 }
- Constant [ public integer WBITS_MAX ] { 384 }
- Constant [ public integer MODE_GENERIC ] { 0 }
- Constant [ public integer MODE_TEXT ] { 4096 }
- Constant [ public integer MODE_FONT ] { 8192 }
+ Constant [ public int FLUSH_NONE ] { 0 }
+ Constant [ public int FLUSH_SYNC ] { 1048576 }
+ Constant [ public int FLUSH_FULL ] { 2097152 }
+ Constant [ public int LEVEL_MIN ] { 1 }
+ Constant [ public int LEVEL_DEF ] { 4 }
+ Constant [ public int LEVEL_MAX ] { 11 }
+ Constant [ public int WBITS_MIN ] { 160 }
+ Constant [ public int WBITS_DEF ] { 352 }
+ Constant [ public int WBITS_MAX ] { 384 }
+ Constant [ public int MODE_GENERIC ] { 0 }
+ Constant [ public int MODE_TEXT ] { 4096 }
+ Constant [ public int MODE_FONT ] { 8192 }
}
- Static properties [0] {
@@ -1066,7 +1370,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> $data ]
- Parameter #1 [ <optional> $flags ]
+ Parameter #1 [ <optional> $flags = <default> ]
}
}
}
@@ -1078,7 +1382,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http, inherits http\Encoding\Stream, ctor> public method __construct ] {
- Parameters [1] {
- Parameter #0 [ <optional> $flags ]
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -1112,9 +1416,9 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Class [ <internal:http> class http\Encoding\Stream\Debrotli extends http\Encoding\Stream ] {
- Constants [3] {
- Constant [ public integer FLUSH_NONE ] { 0 }
- Constant [ public integer FLUSH_SYNC ] { 1048576 }
- Constant [ public integer FLUSH_FULL ] { 2097152 }
+ Constant [ public int FLUSH_NONE ] { 0 }
+ Constant [ public int FLUSH_SYNC ] { 1048576 }
+ Constant [ public int FLUSH_FULL ] { 2097152 }
}
- Static properties [0] {
@@ -1136,7 +1440,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http, inherits http\Encoding\Stream, ctor> public method __construct ] {
- Parameters [1] {
- Parameter #0 [ <optional> $flags ]
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -1170,11 +1474,11 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Class [ <internal:http> class http\Header implements Serializable ] {
- Constants [5] {
- Constant [ public integer MATCH_LOOSE ] { 0 }
- Constant [ public integer MATCH_CASE ] { 1 }
- Constant [ public integer MATCH_WORD ] { 16 }
- Constant [ public integer MATCH_FULL ] { 32 }
- Constant [ public integer MATCH_STRICT ] { 33 }
+ Constant [ public int MATCH_LOOSE ] { 0 }
+ Constant [ public int MATCH_CASE ] { 1 }
+ Constant [ public int MATCH_WORD ] { 16 }
+ Constant [ public int MATCH_FULL ] { 32 }
+ Constant [ public int MATCH_STRICT ] { 33 }
}
- Static properties [0] {
@@ -1185,22 +1489,22 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> $string ]
- Parameter #1 [ <optional> $header_class ]
+ Parameter #1 [ <optional> $header_class = <default> ]
}
}
}
- Properties [2] {
- Property [ <default> public $name ]
- Property [ <default> public $value ]
+ Property [ public $name = NULL ]
+ Property [ public $value = NULL ]
}
- Methods [8] {
Method [ <internal:http, ctor> public method __construct ] {
- Parameters [2] {
- Parameter #0 [ <optional> $name ]
- Parameter #1 [ <optional> $value ]
+ Parameter #0 [ <optional> $name = <default> ]
+ Parameter #1 [ <optional> $value = <default> ]
}
}
@@ -1233,7 +1537,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $flags ]
+ Parameter #1 [ <optional> $flags = <default> ]
}
}
@@ -1241,17 +1545,17 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> $supported ]
- Parameter #1 [ <optional> &$result ]
+ Parameter #1 [ <optional> &$result = <default> ]
}
}
Method [ <internal:http> public method getParams ] {
- Parameters [4] {
- Parameter #0 [ <optional> $param_sep ]
- Parameter #1 [ <optional> $arg_sep ]
- Parameter #2 [ <optional> $val_sep ]
- Parameter #3 [ <optional> $flags ]
+ Parameter #0 [ <optional> $param_sep = <default> ]
+ Parameter #1 [ <optional> $arg_sep = <default> ]
+ Parameter #2 [ <optional> $val_sep = <default> ]
+ Parameter #3 [ <optional> $flags = <default> ]
}
}
}
@@ -1260,14 +1564,14 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Class [ <internal:http> class http\Header\Parser ] {
- Constants [8] {
- Constant [ public integer CLEANUP ] { 1 }
- Constant [ public integer STATE_FAILURE ] { -1 }
- Constant [ public integer STATE_START ] { 0 }
- Constant [ public integer STATE_KEY ] { 1 }
- Constant [ public integer STATE_VALUE ] { 2 }
- Constant [ public integer STATE_VALUE_EX ] { 3 }
- Constant [ public integer STATE_HEADER_DONE ] { 4 }
- Constant [ public integer STATE_DONE ] { 5 }
+ Constant [ public int CLEANUP ] { 1 }
+ Constant [ public int STATE_FAILURE ] { -1 }
+ Constant [ public int STATE_START ] { 0 }
+ Constant [ public int STATE_KEY ] { 1 }
+ Constant [ public int STATE_VALUE ] { 2 }
+ Constant [ public int STATE_VALUE_EX ] { 3 }
+ Constant [ public int STATE_HEADER_DONE ] { 4 }
+ Constant [ public int STATE_DONE ] { 5 }
}
- Static properties [0] {
@@ -1291,7 +1595,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [3] {
Parameter #0 [ <required> $data ]
Parameter #1 [ <required> $flags ]
- Parameter #2 [ <required> array or NULL &$headers ]
+ Parameter #2 [ <required> ?array &$headers ]
}
}
@@ -1300,7 +1604,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [3] {
Parameter #0 [ <required> $stream ]
Parameter #1 [ <required> $flags ]
- Parameter #2 [ <required> array or NULL &$headers ]
+ Parameter #2 [ <required> ?array &$headers ]
}
}
}
@@ -1309,9 +1613,9 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Class [ <internal:http> <iterateable> class http\Message implements Countable, Serializable, Iterator, Traversable ] {
- Constants [3] {
- Constant [ public integer TYPE_NONE ] { 0 }
- Constant [ public integer TYPE_REQUEST ] { 1 }
- Constant [ public integer TYPE_RESPONSE ] { 2 }
+ Constant [ public int TYPE_NONE ] { 0 }
+ Constant [ public int TYPE_REQUEST ] { 1 }
+ Constant [ public int TYPE_RESPONSE ] { 2 }
}
- Static properties [0] {
@@ -1321,23 +1625,23 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
}
- Properties [9] {
- Property [ <default> protected $type ]
- Property [ <default> protected $body ]
- Property [ <default> protected $requestMethod ]
- Property [ <default> protected $requestUrl ]
- Property [ <default> protected $responseStatus ]
- Property [ <default> protected $responseCode ]
- Property [ <default> protected $httpVersion ]
- Property [ <default> protected $headers ]
- Property [ <default> protected $parentMessage ]
+ Property [ protected $type = 0 ]
+ Property [ protected $body = NULL ]
+ Property [ protected $requestMethod = '' ]
+ Property [ protected $requestUrl = '' ]
+ Property [ protected $responseStatus = '' ]
+ Property [ protected $responseCode = 0 ]
+ Property [ protected $httpVersion = NULL ]
+ Property [ protected $headers = NULL ]
+ Property [ protected $parentMessage = NULL ]
}
- Methods [42] {
Method [ <internal:http, ctor> public method __construct ] {
- Parameters [2] {
- Parameter #0 [ <optional> $message ]
- Parameter #1 [ <optional> $greedy ]
+ Parameter #0 [ <optional> $message = <default> ]
+ Parameter #1 [ <optional> $greedy = <default> ]
}
}
@@ -1365,7 +1669,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> $header ]
- Parameter #1 [ <optional> $into_class ]
+ Parameter #1 [ <optional> $into_class = <default> ]
}
}
@@ -1373,7 +1677,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> $header ]
- Parameter #1 [ <optional> $value ]
+ Parameter #1 [ <optional> $value = <default> ]
}
}
@@ -1394,7 +1698,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http> public method setHeaders ] {
- Parameters [1] {
- Parameter #0 [ <required> array or NULL $headers ]
+ Parameter #0 [ <required> ?array $headers ]
}
}
@@ -1402,7 +1706,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> array $headers ]
- Parameter #1 [ <optional> $append ]
+ Parameter #1 [ <optional> $append = <default> ]
}
}
@@ -1442,7 +1746,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> $response_code ]
- Parameter #1 [ <optional> $strict ]
+ Parameter #1 [ <optional> $strict = <default> ]
}
}
@@ -1507,7 +1811,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http> public method toString ] {
- Parameters [1] {
- Parameter #0 [ <optional> $include_parent ]
+ Parameter #0 [ <optional> $include_parent = <default> ]
}
}
@@ -1590,7 +1894,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> http\Message $message ]
- Parameter #1 [ <optional> $top ]
+ Parameter #1 [ <optional> $top = <default> ]
}
}
@@ -1603,7 +1907,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http> public method isMultipart ] {
- Parameters [1] {
- Parameter #0 [ <optional> &$boundary ]
+ Parameter #0 [ <optional> &$boundary = <default> ]
}
}
@@ -1618,21 +1922,21 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Class [ <internal:http> class http\Message\Parser ] {
- Constants [15] {
- Constant [ public integer CLEANUP ] { 1 }
- Constant [ public integer DUMB_BODIES ] { 2 }
- Constant [ public integer EMPTY_REDIRECTS ] { 4 }
- Constant [ public integer GREEDY ] { 8 }
- Constant [ public integer STATE_FAILURE ] { -1 }
- Constant [ public integer STATE_START ] { 0 }
- Constant [ public integer STATE_HEADER ] { 1 }
- Constant [ public integer STATE_HEADER_DONE ] { 2 }
- Constant [ public integer STATE_BODY ] { 3 }
- Constant [ public integer STATE_BODY_DUMB ] { 4 }
- Constant [ public integer STATE_BODY_LENGTH ] { 5 }
- Constant [ public integer STATE_BODY_CHUNKED ] { 6 }
- Constant [ public integer STATE_BODY_DONE ] { 7 }
- Constant [ public integer STATE_UPDATE_CL ] { 8 }
- Constant [ public integer STATE_DONE ] { 9 }
+ Constant [ public int CLEANUP ] { 1 }
+ Constant [ public int DUMB_BODIES ] { 2 }
+ Constant [ public int EMPTY_REDIRECTS ] { 4 }
+ Constant [ public int GREEDY ] { 8 }
+ Constant [ public int STATE_FAILURE ] { -1 }
+ Constant [ public int STATE_START ] { 0 }
+ Constant [ public int STATE_HEADER ] { 1 }
+ Constant [ public int STATE_HEADER_DONE ] { 2 }
+ Constant [ public int STATE_BODY ] { 3 }
+ Constant [ public int STATE_BODY_DUMB ] { 4 }
+ Constant [ public int STATE_BODY_LENGTH ] { 5 }
+ Constant [ public int STATE_BODY_CHUNKED ] { 6 }
+ Constant [ public int STATE_BODY_DONE ] { 7 }
+ Constant [ public int STATE_UPDATE_CL ] { 8 }
+ Constant [ public int STATE_DONE ] { 9 }
}
- Static properties [0] {
@@ -1689,7 +1993,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http, ctor> public method __construct ] {
- Parameters [1] {
- Parameter #0 [ <optional> $stream ]
+ Parameter #0 [ <optional> $stream = <default> ]
}
}
@@ -1722,8 +2026,8 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [3] {
Parameter #0 [ <required> $stream ]
- Parameter #1 [ <optional> $offset ]
- Parameter #2 [ <optional> $maxlen ]
+ Parameter #1 [ <optional> $offset = <default> ]
+ Parameter #2 [ <optional> $maxlen = <default> ]
}
}
@@ -1731,8 +2035,8 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [3] {
Parameter #0 [ <required> $callback ]
- Parameter #1 [ <optional> $offset ]
- Parameter #2 [ <optional> $maxlen ]
+ Parameter #1 [ <optional> $offset = <default> ]
+ Parameter #2 [ <optional> $maxlen = <default> ]
}
}
@@ -1758,8 +2062,8 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http> public method addForm ] {
- Parameters [2] {
- Parameter #0 [ <optional> array or NULL $fields ]
- Parameter #1 [ <optional> array or NULL $files ]
+ Parameter #0 [ <optional> ?array $fields = <default> ]
+ Parameter #1 [ <optional> ?array $files = <default> ]
}
}
@@ -1779,7 +2083,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http> public method stat ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field ]
+ Parameter #0 [ <optional> $field = <default> ]
}
}
}
@@ -1788,16 +2092,16 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Class [ <internal:http> <iterateable> class http\QueryString implements Serializable, ArrayAccess, IteratorAggregate, Traversable ] {
- Constants [6] {
- Constant [ public integer TYPE_BOOL ] { 13 }
- Constant [ public integer TYPE_INT ] { 4 }
- Constant [ public integer TYPE_FLOAT ] { 5 }
- Constant [ public integer TYPE_STRING ] { 6 }
- Constant [ public integer TYPE_ARRAY ] { 7 }
- Constant [ public integer TYPE_OBJECT ] { 8 }
+ Constant [ public int TYPE_BOOL ] { 17 }
+ Constant [ public int TYPE_INT ] { 4 }
+ Constant [ public int TYPE_FLOAT ] { 5 }
+ Constant [ public int TYPE_STRING ] { 6 }
+ Constant [ public int TYPE_ARRAY ] { 7 }
+ Constant [ public int TYPE_OBJECT ] { 8 }
}
- Static properties [1] {
- Property [ private static $instance ]
+ Property [ private static $instance = NULL ]
}
- Static methods [1] {
@@ -1809,14 +2113,14 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
}
- Properties [1] {
- Property [ <default> private $queryArray ]
+ Property [ private $queryArray = NULL ]
}
- Methods [20] {
Method [ <internal:http, ctor> final public method __construct ] {
- Parameters [1] {
- Parameter #0 [ <optional> $params ]
+ Parameter #0 [ <optional> $params = <default> ]
}
}
@@ -1841,10 +2145,10 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http> public method get ] {
- Parameters [4] {
- Parameter #0 [ <optional> $name ]
- Parameter #1 [ <optional> $type ]
- Parameter #2 [ <optional> $defval ]
- Parameter #3 [ <optional> $delete ]
+ Parameter #0 [ <optional> $name = <default> ]
+ Parameter #1 [ <optional> $type = <default> ]
+ Parameter #2 [ <optional> $defval = <default> ]
+ Parameter #3 [ <optional> $delete = <default> ]
}
}
@@ -1858,7 +2162,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http> public method mod ] {
- Parameters [1] {
- Parameter #0 [ <optional> $params ]
+ Parameter #0 [ <optional> $params = <default> ]
}
}
@@ -1866,8 +2170,8 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [3] {
Parameter #0 [ <required> $name ]
- Parameter #1 [ <optional> $defval ]
- Parameter #2 [ <optional> $delete ]
+ Parameter #1 [ <optional> $defval = <default> ]
+ Parameter #2 [ <optional> $delete = <default> ]
}
}
@@ -1875,8 +2179,8 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [3] {
Parameter #0 [ <required> $name ]
- Parameter #1 [ <optional> $defval ]
- Parameter #2 [ <optional> $delete ]
+ Parameter #1 [ <optional> $defval = <default> ]
+ Parameter #2 [ <optional> $delete = <default> ]
}
}
@@ -1884,8 +2188,8 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [3] {
Parameter #0 [ <required> $name ]
- Parameter #1 [ <optional> $defval ]
- Parameter #2 [ <optional> $delete ]
+ Parameter #1 [ <optional> $defval = <default> ]
+ Parameter #2 [ <optional> $delete = <default> ]
}
}
@@ -1893,8 +2197,8 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [3] {
Parameter #0 [ <required> $name ]
- Parameter #1 [ <optional> $defval ]
- Parameter #2 [ <optional> $delete ]
+ Parameter #1 [ <optional> $defval = <default> ]
+ Parameter #2 [ <optional> $delete = <default> ]
}
}
@@ -1902,8 +2206,8 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [3] {
Parameter #0 [ <required> $name ]
- Parameter #1 [ <optional> $defval ]
- Parameter #2 [ <optional> $delete ]
+ Parameter #1 [ <optional> $defval = <default> ]
+ Parameter #2 [ <optional> $delete = <default> ]
}
}
@@ -1911,8 +2215,8 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [3] {
Parameter #0 [ <required> $name ]
- Parameter #1 [ <optional> $defval ]
- Parameter #2 [ <optional> $delete ]
+ Parameter #1 [ <optional> $defval = <default> ]
+ Parameter #2 [ <optional> $delete = <default> ]
}
}
@@ -1969,12 +2273,12 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Class [ <internal:http> class http\Client implements SplSubject, Countable ] {
- Constants [6] {
- Constant [ public integer DEBUG_INFO ] { 0 }
- Constant [ public integer DEBUG_IN ] { 1 }
- Constant [ public integer DEBUG_OUT ] { 2 }
- Constant [ public integer DEBUG_HEADER ] { 16 }
- Constant [ public integer DEBUG_BODY ] { 32 }
- Constant [ public integer DEBUG_SSL ] { 64 }
+ Constant [ public int DEBUG_INFO ] { 0 }
+ Constant [ public int DEBUG_IN ] { 1 }
+ Constant [ public int DEBUG_OUT ] { 2 }
+ Constant [ public int DEBUG_HEADER ] { 16 }
+ Constant [ public int DEBUG_BODY ] { 32 }
+ Constant [ public int DEBUG_SSL ] { 64 }
}
- Static properties [0] {
@@ -1989,18 +2293,18 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
}
- Properties [4] {
- Property [ <default> private $observers ]
- Property [ <default> protected $options ]
- Property [ <default> protected $history ]
- Property [ <default> public $recordHistory ]
+ Property [ private $observers = NULL ]
+ Property [ protected $options = NULL ]
+ Property [ protected $history = NULL ]
+ Property [ public $recordHistory = false ]
}
- Methods [31] {
Method [ <internal:http, ctor> public method __construct ] {
- Parameters [2] {
- Parameter #0 [ <optional> $driver ]
- Parameter #1 [ <optional> $persistent_handle_id ]
+ Parameter #0 [ <optional> $driver = <default> ]
+ Parameter #1 [ <optional> $persistent_handle_id = <default> ]
}
}
@@ -2014,7 +2318,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> http\Client\Request $request ]
- Parameter #1 [ <optional> $callable ]
+ Parameter #1 [ <optional> $callable = <default> ]
}
}
@@ -2029,7 +2333,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> http\Client\Request $request ]
- Parameter #1 [ <optional> $callable ]
+ Parameter #1 [ <optional> $callable = <default> ]
}
}
@@ -2054,14 +2358,14 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http> public method wait ] {
- Parameters [1] {
- Parameter #0 [ <optional> $timeout ]
+ Parameter #0 [ <optional> $timeout = <default> ]
}
}
Method [ <internal:http> public method getResponse ] {
- Parameters [1] {
- Parameter #0 [ <optional> http\Client\Request or NULL $request ]
+ Parameter #0 [ <optional> ?http\Client\Request $request = <default> ]
}
}
@@ -2074,29 +2378,29 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http> public method configure ] {
- Parameters [1] {
- Parameter #0 [ <required> array or NULL $settings ]
+ Parameter #0 [ <required> ?array $settings ]
}
}
Method [ <internal, deprecated:http> public method enablePipelining ] {
- Parameters [1] {
- Parameter #0 [ <optional> $enable ]
+ Parameter #0 [ <optional> $enable = <default> ]
}
}
Method [ <internal, deprecated:http> public method enableEvents ] {
- Parameters [1] {
- Parameter #0 [ <optional> $enable ]
+ Parameter #0 [ <optional> $enable = <default> ]
}
}
Method [ <internal:http, prototype SplSubject> public method notify ] {
- Parameters [2] {
- Parameter #0 [ <optional> http\Client\Request or NULL $request ]
- Parameter #1 [ <optional> $progress ]
+ Parameter #0 [ <optional> ?http\Client\Request $request = <default> ]
+ Parameter #1 [ <optional> $progress = <default> ]
}
}
@@ -2137,7 +2441,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http> public method setOptions ] {
- Parameters [1] {
- Parameter #0 [ <optional> array or NULL $options ]
+ Parameter #0 [ <optional> ?array $options = <default> ]
}
}
@@ -2150,14 +2454,14 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http> public method setSslOptions ] {
- Parameters [1] {
- Parameter #0 [ <optional> array or NULL $ssl_option ]
+ Parameter #0 [ <optional> ?array $ssl_option = <default> ]
}
}
Method [ <internal:http> public method addSslOptions ] {
- Parameters [1] {
- Parameter #0 [ <optional> array or NULL $ssl_options ]
+ Parameter #0 [ <optional> ?array $ssl_options = <default> ]
}
}
@@ -2170,14 +2474,14 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http> public method setCookies ] {
- Parameters [1] {
- Parameter #0 [ <optional> array or NULL $cookies ]
+ Parameter #0 [ <optional> ?array $cookies = <default> ]
}
}
Method [ <internal:http> public method addCookies ] {
- Parameters [1] {
- Parameter #0 [ <optional> array or NULL $cookies ]
+ Parameter #0 [ <optional> ?array $cookies = <default> ]
}
}
@@ -2211,9 +2515,9 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Class [ <internal:http> <iterateable> class http\Client\Request extends http\Message implements Traversable, Iterator, Serializable, Countable ] {
- Constants [3] {
- Constant [ public integer TYPE_NONE ] { 0 }
- Constant [ public integer TYPE_REQUEST ] { 1 }
- Constant [ public integer TYPE_RESPONSE ] { 2 }
+ Constant [ public int TYPE_NONE ] { 0 }
+ Constant [ public int TYPE_REQUEST ] { 1 }
+ Constant [ public int TYPE_RESPONSE ] { 2 }
}
- Static properties [0] {
@@ -2223,26 +2527,26 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
}
- Properties [10] {
- Property [ <default> protected $type ]
- Property [ <default> protected $body ]
- Property [ <default> protected $requestMethod ]
- Property [ <default> protected $requestUrl ]
- Property [ <default> protected $responseStatus ]
- Property [ <default> protected $responseCode ]
- Property [ <default> protected $httpVersion ]
- Property [ <default> protected $headers ]
- Property [ <default> protected $parentMessage ]
- Property [ <default> protected $options ]
+ Property [ protected $type = 0 ]
+ Property [ protected $body = NULL ]
+ Property [ protected $requestMethod = '' ]
+ Property [ protected $requestUrl = '' ]
+ Property [ protected $responseStatus = '' ]
+ Property [ protected $responseCode = 0 ]
+ Property [ protected $httpVersion = NULL ]
+ Property [ protected $headers = NULL ]
+ Property [ protected $parentMessage = NULL ]
+ Property [ protected $options = NULL ]
}
- Methods [52] {
Method [ <internal:http, overwrites http\Message, ctor> public method __construct ] {
- Parameters [4] {
- Parameter #0 [ <optional> $method ]
- Parameter #1 [ <optional> $url ]
- Parameter #2 [ <optional> array or NULL $headers ]
- Parameter #3 [ <optional> http\Message\Body or NULL $body ]
+ Parameter #0 [ <optional> $method = <default> ]
+ Parameter #1 [ <optional> $url = <default> ]
+ Parameter #2 [ <optional> ?array $headers = <default> ]
+ Parameter #3 [ <optional> ?http\Message\Body $body = <default> ]
}
}
@@ -2262,7 +2566,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http> public method setQuery ] {
- Parameters [1] {
- Parameter #0 [ <optional> $query_data ]
+ Parameter #0 [ <optional> $query_data = <default> ]
}
}
@@ -2282,7 +2586,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http> public method setOptions ] {
- Parameters [1] {
- Parameter #0 [ <optional> array or NULL $options ]
+ Parameter #0 [ <optional> ?array $options = <default> ]
}
}
@@ -2295,7 +2599,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http> public method setSslOptions ] {
- Parameters [1] {
- Parameter #0 [ <optional> array or NULL $ssl_options ]
+ Parameter #0 [ <optional> ?array $ssl_options = <default> ]
}
}
@@ -2308,7 +2612,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http> public method addSslOptions ] {
- Parameters [1] {
- Parameter #0 [ <optional> array or NULL $ssl_options ]
+ Parameter #0 [ <optional> ?array $ssl_options = <default> ]
}
}
@@ -2336,7 +2640,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> $header ]
- Parameter #1 [ <optional> $into_class ]
+ Parameter #1 [ <optional> $into_class = <default> ]
}
}
@@ -2344,7 +2648,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> $header ]
- Parameter #1 [ <optional> $value ]
+ Parameter #1 [ <optional> $value = <default> ]
}
}
@@ -2365,7 +2669,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http, inherits http\Message> public method setHeaders ] {
- Parameters [1] {
- Parameter #0 [ <required> array or NULL $headers ]
+ Parameter #0 [ <required> ?array $headers ]
}
}
@@ -2373,7 +2677,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> array $headers ]
- Parameter #1 [ <optional> $append ]
+ Parameter #1 [ <optional> $append = <default> ]
}
}
@@ -2413,7 +2717,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> $response_code ]
- Parameter #1 [ <optional> $strict ]
+ Parameter #1 [ <optional> $strict = <default> ]
}
}
@@ -2478,7 +2782,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http, inherits http\Message> public method toString ] {
- Parameters [1] {
- Parameter #0 [ <optional> $include_parent ]
+ Parameter #0 [ <optional> $include_parent = <default> ]
}
}
@@ -2561,7 +2865,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> http\Message $message ]
- Parameter #1 [ <optional> $top ]
+ Parameter #1 [ <optional> $top = <default> ]
}
}
@@ -2574,7 +2878,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http, inherits http\Message> public method isMultipart ] {
- Parameters [1] {
- Parameter #0 [ <optional> &$boundary ]
+ Parameter #0 [ <optional> &$boundary = <default> ]
}
}
@@ -2589,9 +2893,9 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Class [ <internal:http> <iterateable> class http\Client\Response extends http\Message implements Traversable, Iterator, Serializable, Countable ] {
- Constants [3] {
- Constant [ public integer TYPE_NONE ] { 0 }
- Constant [ public integer TYPE_REQUEST ] { 1 }
- Constant [ public integer TYPE_RESPONSE ] { 2 }
+ Constant [ public int TYPE_NONE ] { 0 }
+ Constant [ public int TYPE_REQUEST ] { 1 }
+ Constant [ public int TYPE_RESPONSE ] { 2 }
}
- Static properties [0] {
@@ -2601,39 +2905,39 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
}
- Properties [10] {
- Property [ <default> protected $type ]
- Property [ <default> protected $body ]
- Property [ <default> protected $requestMethod ]
- Property [ <default> protected $requestUrl ]
- Property [ <default> protected $responseStatus ]
- Property [ <default> protected $responseCode ]
- Property [ <default> protected $httpVersion ]
- Property [ <default> protected $headers ]
- Property [ <default> protected $parentMessage ]
- Property [ <default> protected $transferInfo ]
+ Property [ protected $type = 0 ]
+ Property [ protected $body = NULL ]
+ Property [ protected $requestMethod = '' ]
+ Property [ protected $requestUrl = '' ]
+ Property [ protected $responseStatus = '' ]
+ Property [ protected $responseCode = 0 ]
+ Property [ protected $httpVersion = NULL ]
+ Property [ protected $headers = NULL ]
+ Property [ protected $parentMessage = NULL ]
+ Property [ protected $transferInfo = NULL ]
}
- Methods [44] {
Method [ <internal:http> public method getCookies ] {
- Parameters [2] {
- Parameter #0 [ <optional> $flags ]
- Parameter #1 [ <optional> $allowed_extras ]
+ Parameter #0 [ <optional> $flags = <default> ]
+ Parameter #1 [ <optional> $allowed_extras = <default> ]
}
}
Method [ <internal:http> public method getTransferInfo ] {
- Parameters [1] {
- Parameter #0 [ <optional> $element ]
+ Parameter #0 [ <optional> $element = <default> ]
}
}
Method [ <internal:http, inherits http\Message, ctor> public method __construct ] {
- Parameters [2] {
- Parameter #0 [ <optional> $message ]
- Parameter #1 [ <optional> $greedy ]
+ Parameter #0 [ <optional> $message = <default> ]
+ Parameter #1 [ <optional> $greedy = <default> ]
}
}
@@ -2661,7 +2965,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> $header ]
- Parameter #1 [ <optional> $into_class ]
+ Parameter #1 [ <optional> $into_class = <default> ]
}
}
@@ -2669,7 +2973,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> $header ]
- Parameter #1 [ <optional> $value ]
+ Parameter #1 [ <optional> $value = <default> ]
}
}
@@ -2690,7 +2994,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http, inherits http\Message> public method setHeaders ] {
- Parameters [1] {
- Parameter #0 [ <required> array or NULL $headers ]
+ Parameter #0 [ <required> ?array $headers ]
}
}
@@ -2698,7 +3002,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> array $headers ]
- Parameter #1 [ <optional> $append ]
+ Parameter #1 [ <optional> $append = <default> ]
}
}
@@ -2738,7 +3042,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> $response_code ]
- Parameter #1 [ <optional> $strict ]
+ Parameter #1 [ <optional> $strict = <default> ]
}
}
@@ -2803,7 +3107,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http, inherits http\Message> public method toString ] {
- Parameters [1] {
- Parameter #0 [ <optional> $include_parent ]
+ Parameter #0 [ <optional> $include_parent = <default> ]
}
}
@@ -2886,7 +3190,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> http\Message $message ]
- Parameter #1 [ <optional> $top ]
+ Parameter #1 [ <optional> $top = <default> ]
}
}
@@ -2899,7 +3203,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http, inherits http\Message> public method isMultipart ] {
- Parameters [1] {
- Parameter #0 [ <optional> &$boundary ]
+ Parameter #0 [ <optional> &$boundary = <default> ]
}
}
@@ -2914,11 +3218,11 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Interface [ <internal:http> interface http\Client\Curl\User ] {
- Constants [5] {
- Constant [ public integer POLL_NONE ] { 0 }
- Constant [ public integer POLL_IN ] { 1 }
- Constant [ public integer POLL_OUT ] { 2 }
- Constant [ public integer POLL_INOUT ] { 3 }
- Constant [ public integer POLL_REMOVE ] { 4 }
+ Constant [ public int POLL_NONE ] { 0 }
+ Constant [ public int POLL_IN ] { 1 }
+ Constant [ public int POLL_OUT ] { 2 }
+ Constant [ public int POLL_INOUT ] { 3 }
+ Constant [ public int POLL_REMOVE ] { 4 }
}
- Static properties [0] {
@@ -2941,7 +3245,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http> abstract public method timer ] {
- Parameters [1] {
- Parameter #0 [ <required> integer $timeout_ms ]
+ Parameter #0 [ <required> int $timeout_ms ]
}
}
@@ -2949,7 +3253,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> $socket ]
- Parameter #1 [ <required> integer $action ]
+ Parameter #1 [ <required> int $action ]
}
}
@@ -2962,7 +3266,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http> abstract public method wait ] {
- Parameters [1] {
- Parameter #0 [ <optional> integer $timeout_ms ]
+ Parameter #0 [ <optional> int $timeout_ms = <default> ]
}
}
@@ -2977,28 +3281,28 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Class [ <internal:http> class http\Url ] {
- Constants [22] {
- Constant [ public integer REPLACE ] { 0 }
- Constant [ public integer JOIN_PATH ] { 1 }
- Constant [ public integer JOIN_QUERY ] { 2 }
- Constant [ public integer STRIP_USER ] { 4 }
- Constant [ public integer STRIP_PASS ] { 8 }
- Constant [ public integer STRIP_AUTH ] { 12 }
- Constant [ public integer STRIP_PORT ] { 32 }
- Constant [ public integer STRIP_PATH ] { 64 }
- Constant [ public integer STRIP_QUERY ] { 128 }
- Constant [ public integer STRIP_FRAGMENT ] { 256 }
- Constant [ public integer STRIP_ALL ] { 492 }
- Constant [ public integer FROM_ENV ] { 4096 }
- Constant [ public integer SANITIZE_PATH ] { 8192 }
- Constant [ public integer PARSE_MBLOC ] { 65536 }
- Constant [ public integer PARSE_MBUTF8 ] { 131072 }
- Constant [ public integer PARSE_TOIDN ] { 1048576 }
- Constant [ public integer PARSE_TOIDN_2003 ] { 9437184 }
- Constant [ public integer PARSE_TOIDN_2008 ] { 5242880 }
- Constant [ public integer PARSE_TOPCT ] { 2097152 }
- Constant [ public integer IGNORE_ERRORS ] { 268435456 }
- Constant [ public integer SILENT_ERRORS ] { 536870912 }
- Constant [ public integer STDFLAGS ] { 3350531 }
+ Constant [ public int REPLACE ] { 0 }
+ Constant [ public int JOIN_PATH ] { 1 }
+ Constant [ public int JOIN_QUERY ] { 2 }
+ Constant [ public int STRIP_USER ] { 4 }
+ Constant [ public int STRIP_PASS ] { 8 }
+ Constant [ public int STRIP_AUTH ] { 12 }
+ Constant [ public int STRIP_PORT ] { 32 }
+ Constant [ public int STRIP_PATH ] { 64 }
+ Constant [ public int STRIP_QUERY ] { 128 }
+ Constant [ public int STRIP_FRAGMENT ] { 256 }
+ Constant [ public int STRIP_ALL ] { 492 }
+ Constant [ public int FROM_ENV ] { 4096 }
+ Constant [ public int SANITIZE_PATH ] { 8192 }
+ Constant [ public int PARSE_MBLOC ] { 65536 }
+ Constant [ public int PARSE_MBUTF8 ] { 131072 }
+ Constant [ public int PARSE_TOIDN ] { 1048576 }
+ Constant [ public int PARSE_TOIDN_2003 ] { 9437184 }
+ Constant [ public int PARSE_TOIDN_2008 ] { 5242880 }
+ Constant [ public int PARSE_TOPCT ] { 2097152 }
+ Constant [ public int IGNORE_ERRORS ] { 268435456 }
+ Constant [ public int SILENT_ERRORS ] { 536870912 }
+ Constant [ public int STDFLAGS ] { 3350531 }
}
- Static properties [0] {
@@ -3008,23 +3312,23 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
}
- Properties [8] {
- Property [ <default> public $scheme ]
- Property [ <default> public $user ]
- Property [ <default> public $pass ]
- Property [ <default> public $host ]
- Property [ <default> public $port ]
- Property [ <default> public $path ]
- Property [ <default> public $query ]
- Property [ <default> public $fragment ]
+ Property [ public $scheme = NULL ]
+ Property [ public $user = NULL ]
+ Property [ public $pass = NULL ]
+ Property [ public $host = NULL ]
+ Property [ public $port = NULL ]
+ Property [ public $path = NULL ]
+ Property [ public $query = NULL ]
+ Property [ public $fragment = NULL ]
}
- Methods [5] {
Method [ <internal:http, ctor> public method __construct ] {
- Parameters [3] {
- Parameter #0 [ <optional> $old_url ]
- Parameter #1 [ <optional> $new_url ]
- Parameter #2 [ <optional> $flags ]
+ Parameter #0 [ <optional> $old_url = <default> ]
+ Parameter #1 [ <optional> $new_url = <default> ]
+ Parameter #2 [ <optional> $flags = <default> ]
}
}
@@ -3032,7 +3336,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> $more_url_parts ]
- Parameter #1 [ <optional> $flags ]
+ Parameter #1 [ <optional> $flags = <default> ]
}
}
@@ -3059,28 +3363,28 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Class [ <internal:http> class http\Env\Url extends http\Url ] {
- Constants [22] {
- Constant [ public integer REPLACE ] { 0 }
- Constant [ public integer JOIN_PATH ] { 1 }
- Constant [ public integer JOIN_QUERY ] { 2 }
- Constant [ public integer STRIP_USER ] { 4 }
- Constant [ public integer STRIP_PASS ] { 8 }
- Constant [ public integer STRIP_AUTH ] { 12 }
- Constant [ public integer STRIP_PORT ] { 32 }
- Constant [ public integer STRIP_PATH ] { 64 }
- Constant [ public integer STRIP_QUERY ] { 128 }
- Constant [ public integer STRIP_FRAGMENT ] { 256 }
- Constant [ public integer STRIP_ALL ] { 492 }
- Constant [ public integer FROM_ENV ] { 4096 }
- Constant [ public integer SANITIZE_PATH ] { 8192 }
- Constant [ public integer PARSE_MBLOC ] { 65536 }
- Constant [ public integer PARSE_MBUTF8 ] { 131072 }
- Constant [ public integer PARSE_TOIDN ] { 1048576 }
- Constant [ public integer PARSE_TOIDN_2003 ] { 9437184 }
- Constant [ public integer PARSE_TOIDN_2008 ] { 5242880 }
- Constant [ public integer PARSE_TOPCT ] { 2097152 }
- Constant [ public integer IGNORE_ERRORS ] { 268435456 }
- Constant [ public integer SILENT_ERRORS ] { 536870912 }
- Constant [ public integer STDFLAGS ] { 3350531 }
+ Constant [ public int REPLACE ] { 0 }
+ Constant [ public int JOIN_PATH ] { 1 }
+ Constant [ public int JOIN_QUERY ] { 2 }
+ Constant [ public int STRIP_USER ] { 4 }
+ Constant [ public int STRIP_PASS ] { 8 }
+ Constant [ public int STRIP_AUTH ] { 12 }
+ Constant [ public int STRIP_PORT ] { 32 }
+ Constant [ public int STRIP_PATH ] { 64 }
+ Constant [ public int STRIP_QUERY ] { 128 }
+ Constant [ public int STRIP_FRAGMENT ] { 256 }
+ Constant [ public int STRIP_ALL ] { 492 }
+ Constant [ public int FROM_ENV ] { 4096 }
+ Constant [ public int SANITIZE_PATH ] { 8192 }
+ Constant [ public int PARSE_MBLOC ] { 65536 }
+ Constant [ public int PARSE_MBUTF8 ] { 131072 }
+ Constant [ public int PARSE_TOIDN ] { 1048576 }
+ Constant [ public int PARSE_TOIDN_2003 ] { 9437184 }
+ Constant [ public int PARSE_TOIDN_2008 ] { 5242880 }
+ Constant [ public int PARSE_TOPCT ] { 2097152 }
+ Constant [ public int IGNORE_ERRORS ] { 268435456 }
+ Constant [ public int SILENT_ERRORS ] { 536870912 }
+ Constant [ public int STDFLAGS ] { 3350531 }
}
- Static properties [0] {
@@ -3090,23 +3394,23 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
}
- Properties [8] {
- Property [ <default> public $scheme ]
- Property [ <default> public $user ]
- Property [ <default> public $pass ]
- Property [ <default> public $host ]
- Property [ <default> public $port ]
- Property [ <default> public $path ]
- Property [ <default> public $query ]
- Property [ <default> public $fragment ]
+ Property [ public $scheme = NULL ]
+ Property [ public $user = NULL ]
+ Property [ public $pass = NULL ]
+ Property [ public $host = NULL ]
+ Property [ public $port = NULL ]
+ Property [ public $path = NULL ]
+ Property [ public $query = NULL ]
+ Property [ public $fragment = NULL ]
}
- Methods [5] {
Method [ <internal:http, inherits http\Url, ctor> public method __construct ] {
- Parameters [3] {
- Parameter #0 [ <optional> $old_url ]
- Parameter #1 [ <optional> $new_url ]
- Parameter #2 [ <optional> $flags ]
+ Parameter #0 [ <optional> $old_url = <default> ]
+ Parameter #1 [ <optional> $new_url = <default> ]
+ Parameter #2 [ <optional> $flags = <default> ]
}
}
@@ -3114,7 +3418,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> $more_url_parts ]
- Parameter #1 [ <optional> $flags ]
+ Parameter #1 [ <optional> $flags = <default> ]
}
}
@@ -3150,14 +3454,14 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http> static public method getRequestHeader ] {
- Parameters [1] {
- Parameter #0 [ <optional> $header_name ]
+ Parameter #0 [ <optional> $header_name = <default> ]
}
}
Method [ <internal:http> static public method getRequestBody ] {
- Parameters [1] {
- Parameter #0 [ <optional> $body_class_name ]
+ Parameter #0 [ <optional> $body_class_name = <default> ]
}
}
@@ -3177,7 +3481,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http> static public method getResponseHeader ] {
- Parameters [1] {
- Parameter #0 [ <optional> $header_name ]
+ Parameter #0 [ <optional> $header_name = <default> ]
}
}
@@ -3191,9 +3495,9 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [4] {
Parameter #0 [ <required> $header_name ]
- Parameter #1 [ <optional> $header_value ]
- Parameter #2 [ <optional> $response_code ]
- Parameter #3 [ <optional> $replace_header ]
+ Parameter #1 [ <optional> $header_value = <default> ]
+ Parameter #2 [ <optional> $response_code = <default> ]
+ Parameter #3 [ <optional> $replace_header = <default> ]
}
}
@@ -3208,7 +3512,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> $supported ]
- Parameter #1 [ <optional> &$result_array ]
+ Parameter #1 [ <optional> &$result_array = <default> ]
}
}
@@ -3216,7 +3520,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> $supported ]
- Parameter #1 [ <optional> &$result_array ]
+ Parameter #1 [ <optional> &$result_array = <default> ]
}
}
@@ -3224,7 +3528,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> $supported ]
- Parameter #1 [ <optional> &$result_array ]
+ Parameter #1 [ <optional> &$result_array = <default> ]
}
}
@@ -3232,7 +3536,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> $supported ]
- Parameter #1 [ <optional> &$result_array ]
+ Parameter #1 [ <optional> &$result_array = <default> ]
}
}
@@ -3241,8 +3545,8 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [4] {
Parameter #0 [ <required> $params ]
Parameter #1 [ <required> $supported ]
- Parameter #2 [ <optional> $primary_type_separator ]
- Parameter #3 [ <optional> &$result_array ]
+ Parameter #2 [ <optional> $primary_type_separator = <default> ]
+ Parameter #3 [ <optional> &$result_array = <default> ]
}
}
}
@@ -3257,9 +3561,9 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Class [ <internal:http> <iterateable> class http\Env\Request extends http\Message implements Traversable, Iterator, Serializable, Countable ] {
- Constants [3] {
- Constant [ public integer TYPE_NONE ] { 0 }
- Constant [ public integer TYPE_REQUEST ] { 1 }
- Constant [ public integer TYPE_RESPONSE ] { 2 }
+ Constant [ public int TYPE_NONE ] { 0 }
+ Constant [ public int TYPE_REQUEST ] { 1 }
+ Constant [ public int TYPE_RESPONSE ] { 2 }
}
- Static properties [0] {
@@ -3269,19 +3573,19 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
}
- Properties [13] {
- Property [ <default> protected $type ]
- Property [ <default> protected $body ]
- Property [ <default> protected $requestMethod ]
- Property [ <default> protected $requestUrl ]
- Property [ <default> protected $responseStatus ]
- Property [ <default> protected $responseCode ]
- Property [ <default> protected $httpVersion ]
- Property [ <default> protected $headers ]
- Property [ <default> protected $parentMessage ]
- Property [ <default> protected $query ]
- Property [ <default> protected $form ]
- Property [ <default> protected $cookie ]
- Property [ <default> protected $files ]
+ Property [ protected $type = 0 ]
+ Property [ protected $body = NULL ]
+ Property [ protected $requestMethod = '' ]
+ Property [ protected $requestUrl = '' ]
+ Property [ protected $responseStatus = '' ]
+ Property [ protected $responseCode = 0 ]
+ Property [ protected $httpVersion = NULL ]
+ Property [ protected $headers = NULL ]
+ Property [ protected $parentMessage = NULL ]
+ Property [ protected $query = NULL ]
+ Property [ protected $form = NULL ]
+ Property [ protected $cookie = NULL ]
+ Property [ protected $files = NULL ]
}
- Methods [46] {
@@ -3294,30 +3598,30 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http> public method getForm ] {
- Parameters [4] {
- Parameter #0 [ <optional> $name ]
- Parameter #1 [ <optional> $type ]
- Parameter #2 [ <optional> $defval ]
- Parameter #3 [ <optional> $delete ]
+ Parameter #0 [ <optional> $name = <default> ]
+ Parameter #1 [ <optional> $type = <default> ]
+ Parameter #2 [ <optional> $defval = <default> ]
+ Parameter #3 [ <optional> $delete = <default> ]
}
}
Method [ <internal:http> public method getQuery ] {
- Parameters [4] {
- Parameter #0 [ <optional> $name ]
- Parameter #1 [ <optional> $type ]
- Parameter #2 [ <optional> $defval ]
- Parameter #3 [ <optional> $delete ]
+ Parameter #0 [ <optional> $name = <default> ]
+ Parameter #1 [ <optional> $type = <default> ]
+ Parameter #2 [ <optional> $defval = <default> ]
+ Parameter #3 [ <optional> $delete = <default> ]
}
}
Method [ <internal:http> public method getCookie ] {
- Parameters [4] {
- Parameter #0 [ <optional> $name ]
- Parameter #1 [ <optional> $type ]
- Parameter #2 [ <optional> $defval ]
- Parameter #3 [ <optional> $delete ]
+ Parameter #0 [ <optional> $name = <default> ]
+ Parameter #1 [ <optional> $type = <default> ]
+ Parameter #2 [ <optional> $defval = <default> ]
+ Parameter #3 [ <optional> $delete = <default> ]
}
}
@@ -3351,7 +3655,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> $header ]
- Parameter #1 [ <optional> $into_class ]
+ Parameter #1 [ <optional> $into_class = <default> ]
}
}
@@ -3359,7 +3663,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> $header ]
- Parameter #1 [ <optional> $value ]
+ Parameter #1 [ <optional> $value = <default> ]
}
}
@@ -3380,7 +3684,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http, inherits http\Message> public method setHeaders ] {
- Parameters [1] {
- Parameter #0 [ <required> array or NULL $headers ]
+ Parameter #0 [ <required> ?array $headers ]
}
}
@@ -3388,7 +3692,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> array $headers ]
- Parameter #1 [ <optional> $append ]
+ Parameter #1 [ <optional> $append = <default> ]
}
}
@@ -3428,7 +3732,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> $response_code ]
- Parameter #1 [ <optional> $strict ]
+ Parameter #1 [ <optional> $strict = <default> ]
}
}
@@ -3493,7 +3797,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http, inherits http\Message> public method toString ] {
- Parameters [1] {
- Parameter #0 [ <optional> $include_parent ]
+ Parameter #0 [ <optional> $include_parent = <default> ]
}
}
@@ -3576,7 +3880,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> http\Message $message ]
- Parameter #1 [ <optional> $top ]
+ Parameter #1 [ <optional> $top = <default> ]
}
}
@@ -3589,7 +3893,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http, inherits http\Message> public method isMultipart ] {
- Parameters [1] {
- Parameter #0 [ <optional> &$boundary ]
+ Parameter #0 [ <optional> &$boundary = <default> ]
}
}
@@ -3604,14 +3908,14 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Class [ <internal:http> <iterateable> class http\Env\Response extends http\Message implements Traversable, Iterator, Serializable, Countable ] {
- Constants [8] {
- Constant [ public integer TYPE_NONE ] { 0 }
- Constant [ public integer TYPE_REQUEST ] { 1 }
- Constant [ public integer TYPE_RESPONSE ] { 2 }
- Constant [ public integer CONTENT_ENCODING_NONE ] { 0 }
- Constant [ public integer CONTENT_ENCODING_GZIP ] { 1 }
- Constant [ public integer CACHE_NO ] { 0 }
- Constant [ public integer CACHE_HIT ] { 1 }
- Constant [ public integer CACHE_MISS ] { 2 }
+ Constant [ public int TYPE_NONE ] { 0 }
+ Constant [ public int TYPE_REQUEST ] { 1 }
+ Constant [ public int TYPE_RESPONSE ] { 2 }
+ Constant [ public int CONTENT_ENCODING_NONE ] { 0 }
+ Constant [ public int CONTENT_ENCODING_GZIP ] { 1 }
+ Constant [ public int CACHE_NO ] { 0 }
+ Constant [ public int CACHE_HIT ] { 1 }
+ Constant [ public int CACHE_MISS ] { 2 }
}
- Static properties [0] {
@@ -3621,25 +3925,25 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
}
- Properties [19] {
- Property [ <default> protected $type ]
- Property [ <default> protected $body ]
- Property [ <default> protected $requestMethod ]
- Property [ <default> protected $requestUrl ]
- Property [ <default> protected $responseStatus ]
- Property [ <default> protected $responseCode ]
- Property [ <default> protected $httpVersion ]
- Property [ <default> protected $headers ]
- Property [ <default> protected $parentMessage ]
- Property [ <default> protected $request ]
- Property [ <default> protected $cookies ]
- Property [ <default> protected $contentType ]
- Property [ <default> protected $contentDisposition ]
- Property [ <default> protected $contentEncoding ]
- Property [ <default> protected $cacheControl ]
- Property [ <default> protected $etag ]
- Property [ <default> protected $lastModified ]
- Property [ <default> protected $throttleDelay ]
- Property [ <default> protected $throttleChunk ]
+ Property [ protected $type = 0 ]
+ Property [ protected $body = NULL ]
+ Property [ protected $requestMethod = '' ]
+ Property [ protected $requestUrl = '' ]
+ Property [ protected $responseStatus = '' ]
+ Property [ protected $responseCode = 0 ]
+ Property [ protected $httpVersion = NULL ]
+ Property [ protected $headers = NULL ]
+ Property [ protected $parentMessage = NULL ]
+ Property [ protected $request = NULL ]
+ Property [ protected $cookies = NULL ]
+ Property [ protected $contentType = NULL ]
+ Property [ protected $contentDisposition = NULL ]
+ Property [ protected $contentEncoding = NULL ]
+ Property [ protected $cacheControl = NULL ]
+ Property [ protected $etag = NULL ]
+ Property [ protected $lastModified = NULL ]
+ Property [ protected $throttleDelay = NULL ]
+ Property [ protected $throttleChunk = NULL ]
}
- Methods [55] {
@@ -3653,14 +3957,14 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> $ob_string ]
- Parameter #1 [ <optional> $ob_flags ]
+ Parameter #1 [ <optional> $ob_flags = <default> ]
}
}
Method [ <internal:http> public method setEnvRequest ] {
- Parameters [1] {
- Parameter #0 [ <required> http\Message or NULL $env_request ]
+ Parameter #0 [ <required> ?http\Message $env_request ]
}
}
@@ -3681,7 +3985,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http> public method setContentDisposition ] {
- Parameters [1] {
- Parameter #0 [ <required> array or NULL $disposition_params ]
+ Parameter #0 [ <required> ?array $disposition_params ]
}
}
@@ -3709,7 +4013,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http> public method isCachedByLastModified ] {
- Parameters [1] {
- Parameter #0 [ <optional> $header_name ]
+ Parameter #0 [ <optional> $header_name = <default> ]
}
}
@@ -3723,7 +4027,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http> public method isCachedByEtag ] {
- Parameters [1] {
- Parameter #0 [ <optional> $header_name ]
+ Parameter #0 [ <optional> $header_name = <default> ]
}
}
@@ -3731,14 +4035,14 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> $chunk_size ]
- Parameter #1 [ <optional> $delay ]
+ Parameter #1 [ <optional> $delay = <default> ]
}
}
Method [ <internal:http> public method send ] {
- Parameters [1] {
- Parameter #0 [ <optional> $stream ]
+ Parameter #0 [ <optional> $stream = <default> ]
}
}
@@ -3766,7 +4070,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> $header ]
- Parameter #1 [ <optional> $into_class ]
+ Parameter #1 [ <optional> $into_class = <default> ]
}
}
@@ -3774,7 +4078,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> $header ]
- Parameter #1 [ <optional> $value ]
+ Parameter #1 [ <optional> $value = <default> ]
}
}
@@ -3795,7 +4099,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http, inherits http\Message> public method setHeaders ] {
- Parameters [1] {
- Parameter #0 [ <required> array or NULL $headers ]
+ Parameter #0 [ <required> ?array $headers ]
}
}
@@ -3803,7 +4107,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> array $headers ]
- Parameter #1 [ <optional> $append ]
+ Parameter #1 [ <optional> $append = <default> ]
}
}
@@ -3843,7 +4147,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> $response_code ]
- Parameter #1 [ <optional> $strict ]
+ Parameter #1 [ <optional> $strict = <default> ]
}
}
@@ -3908,7 +4212,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http, inherits http\Message> public method toString ] {
- Parameters [1] {
- Parameter #0 [ <optional> $include_parent ]
+ Parameter #0 [ <optional> $include_parent = <default> ]
}
}
@@ -3991,7 +4295,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
- Parameters [2] {
Parameter #0 [ <required> http\Message $message ]
- Parameter #1 [ <optional> $top ]
+ Parameter #1 [ <optional> $top = <default> ]
}
}
@@ -4004,7 +4308,7 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Method [ <internal:http, inherits http\Message> public method isMultipart ] {
- Parameters [1] {
- Parameter #0 [ <optional> &$boundary ]
+ Parameter #0 [ <optional> &$boundary = <default> ]
}
}
@@ -4023,14 +4327,14 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
Constant [ public string DEF_ARG_SEP ] { ; }
Constant [ public string DEF_VAL_SEP ] { = }
Constant [ public string COOKIE_PARAM_SEP ] { }
- Constant [ public integer PARSE_RAW ] { 0 }
- Constant [ public integer PARSE_ESCAPED ] { 1 }
- Constant [ public integer PARSE_URLENCODED ] { 4 }
- Constant [ public integer PARSE_DIMENSION ] { 8 }
- Constant [ public integer PARSE_RFC5987 ] { 16 }
- Constant [ public integer PARSE_RFC5988 ] { 32 }
- Constant [ public integer PARSE_DEFAULT ] { 17 }
- Constant [ public integer PARSE_QUERY ] { 12 }
+ Constant [ public int PARSE_RAW ] { 0 }
+ Constant [ public int PARSE_ESCAPED ] { 1 }
+ Constant [ public int PARSE_URLENCODED ] { 4 }
+ Constant [ public int PARSE_DIMENSION ] { 8 }
+ Constant [ public int PARSE_RFC5987 ] { 16 }
+ Constant [ public int PARSE_RFC5988 ] { 32 }
+ Constant [ public int PARSE_DEFAULT ] { 17 }
+ Constant [ public int PARSE_QUERY ] { 12 }
}
- Static properties [0] {
@@ -4040,22 +4344,22 @@ Extension [ <persistent> extension #191 http version 3.2.3 ] {
}
- Properties [5] {
- Property [ <default> public $params ]
- Property [ <default> public $param_sep ]
- Property [ <default> public $arg_sep ]
- Property [ <default> public $val_sep ]
- Property [ <default> public $flags ]
+ Property [ public $params = NULL ]
+ Property [ public $param_sep = ',' ]
+ Property [ public $arg_sep = ';' ]
+ Property [ public $val_sep = '=' ]
+ Property [ public $flags = 17 ]
}
- Methods [8] {
Method [ <internal:http, ctor> final public method __construct ] {
- Parameters [5] {
- Parameter #0 [ <optional> $params ]
- Parameter #1 [ <optional> $param_sep ]
- Parameter #2 [ <optional> $arg_sep ]
- Parameter #3 [ <optional> $val_sep ]
- Parameter #4 [ <optional> $flags ]
+ Parameter #0 [ <optional> $params = <default> ]
+ Parameter #1 [ <optional> $param_sep = <default> ]
+ Parameter #2 [ <optional> $arg_sep = <default> ]
+ Parameter #3 [ <optional> $val_sep = <default> ]
+ Parameter #4 [ <optional> $flags = <default> ]
}
}
diff --git a/php-pecl-http.spec b/php-pecl-http.spec
index a2b7a3a..f7e34ea 100644
--- a/php-pecl-http.spec
+++ b/php-pecl-http.spec
@@ -32,25 +32,26 @@
%global proj_name pecl_http
%global pecl_name http
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
-# after 40-propro 40-raphf
+# after 40-raphf
%global ini_name 50-%{pecl_name}.ini
%ifarch %{arm}
# Test suite disabled because of erratic results on slow ARM (timeout)
-%global with_tests 0%{?_with_tests:1}
+%bcond_with tests
%else
-%global with_tests 0%{!?_without_tests:1}
+%bcond_without tests
%endif
-%global upstream_version 3.2.3
-#global upstream_prever RC1
+%global upstream_version 4.0.0
+%global upstream_prever beta1
+%global upstream_lower beta1
Name: %{?sub_prefix}php-pecl-http
-Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
+Version: %{upstream_version}%{?upstream_prever:~%{upstream_lower}}
%if 0%{?gh_date:1}
-Release: 0.7.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 0.8.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{pecl_name}-%{version}-%{gh_short}.tar.gz
%else
-Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
Source0: https://pecl.php.net/get/%{proj_name}-%{upstream_version}%{?upstream_prever}.tgz
%endif
Summary: Extended HTTP support
@@ -62,8 +63,7 @@ URL: https://pecl.php.net/package/pecl_http
Source1: %{proj_name}.ini
BuildRequires: %{?dtsprefix}gcc
-BuildRequires: %{?scl_prefix}php-devel >= 7
-BuildRequires: %{?scl_prefix}php-hash
+BuildRequires: %{?scl_prefix}php-devel >= 8
BuildRequires: %{?scl_prefix}php-spl
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: pcre-devel
@@ -71,7 +71,6 @@ BuildRequires: zlib-devel >= 1.2.0.4
BuildRequires: curl-devel >= 7.18.2
# Use same version than PHP to ensure we use libicu-last (EL 6)
BuildRequires: libicu-devel >= 50
-BuildRequires: %{?scl_prefix}php-pecl-propro-devel >= 2
BuildRequires: %{?scl_prefix}php-pecl-raphf-devel >= 2
BuildRequires: pkgconfig(libevent) >= 2
# only needed in F27+
@@ -82,10 +81,8 @@ BuildRequires: brotli-devel >= 1.0
Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}
-Requires: %{?scl_prefix}php-hash%{?_isa}
Requires: %{?scl_prefix}php-spl%{?_isa}
-Requires: %{?scl_prefix}php-pecl(propro)%{?_isa} >= 1.0.0
-Requires: %{?scl_prefix}php-pecl(raphf)%{?_isa} >= 1.1.0
+Requires: %{?scl_prefix}php-pecl(raphf)%{?_isa} >= 2
Obsoletes: %{?scl_prefix}php-pecl-http1 < 2
%{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}}
@@ -102,22 +99,9 @@ Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}
%if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
# Other third party repo stuff
-%if "%{php_version}" > "7.1"
-Obsoletes: php71u-pecl-http <= %{version}
-Obsoletes: php71w-pecl-http <= %{version}
-%endif
-%if "%{php_version}" > "7.2"
-Obsoletes: php72u-pecl-http <= %{version}
-Obsoletes: php72w-pecl-http <= %{version}
-%endif
-%if "%{php_version}" > "7.3"
Obsoletes: php73-pecl-http <= %{version}
-Obsoletes: php73w-pecl-http <= %{version}
-%endif
-%if "%{php_version}" > "7.4"
Obsoletes: php74-pecl-http <= %{version}
-Obsoletes: php74w-pecl-http <= %{version}
-%endif
+Obsoletes: php80-pecl-http <= %{version}
%endif
%if 0%{?fedora} < 20 && 0%{?rhel} < 7
@@ -272,7 +256,7 @@ fi
# Shared needed extensions
modules=""
-for mod in hash propro raphf; do
+for mod in raphf; do
if [ -f %{php_extdir}/${mod}.so ]; then
modules="$modules -d extension=${mod}.so"
fi
@@ -284,11 +268,7 @@ done
--define extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \
--modules | grep %{pecl_name}
-%if %{with_tests}
-: ignore tests with erratic results
-#rm ?TS/tests/client022.phpt
-#rm ?TS/tests/client027.phpt
-
+%if %{with tests}
: Upstream test suite NTS extension
cd NTS
TEST_PHP_EXECUTABLE=%{__php} \
@@ -304,7 +284,7 @@ NO_INTERACTION=1 \
--define extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \
--modules | grep %{pecl_name}
-%if %{with_tests}
+%if %{with tests}
: Upstream test suite ZTS extension
cd ../ZTS
TEST_PHP_EXECUTABLE=%{__ztsphp} \
@@ -358,6 +338,14 @@ fi
%changelog
+* Wed Sep 30 2020 Remi Collet <remi@remirepo.net> - 4.0.0~beta1-2
+- rebuild for PHP 8.0.0RC1
+
+* Wed Sep 23 2020 Remi Collet <remi@remirepo.net> - 4.0.0~beta1-1
+- update to 4.0.0beta1
+- raise dependency on PHP 8.0
+- drop dependency on propro extension
+
* Tue Oct 29 2019 Remi Collet <remi@remirepo.net> - 3.2.3-1
- update to 3.2.3