From 9ebcbe8204e99f6617c791ec8a851589bb9f3cb8 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 30 Sep 2020 10:35:30 +0200 Subject: rebuild for PHP 8.0.0RC1 --- PHPINFO | 6 +- REFLECTION | 1430 +++++++++++++++++++++++++++++++--------------------- php-pecl-http.spec | 58 +-- 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 [ extension #191 http version 3.2.3 ] { +Extension [ 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 [ 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 [ extension #191 http version 3.2.3 ] { } } - Class [ class http\Exception\RuntimeException extends RuntimeException implements Throwable, http\Exception ] { + Class [ class http\Exception\RuntimeException extends RuntimeException implements Throwable, Stringable, http\Exception ] { - Constants [0] { } @@ -103,52 +101,86 @@ Extension [ extension #191 http version 3.2.3 ] { } - Properties [4] { - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $file ] - Property [ protected $line ] + Property [ protected $message = '' ] + Property [ protected $code = 0 ] + Property [ protected $file = NULL ] + Property [ protected $line = NULL ] } - Methods [10] { Method [ public method __construct ] { - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] + Parameter #0 [ string $message = ] + Parameter #1 [ int $code = 0 ] + Parameter #2 [ ?Throwable $previous = null ] } } Method [ public method __wakeup ] { + + - Parameters [0] { + } } Method [ final public method getMessage ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getCode ] { + + - Parameters [0] { + } } Method [ final public method getFile ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getLine ] { + + - Parameters [0] { + } + - Return [ int ] } Method [ final public method getTrace ] { + + - Parameters [0] { + } + - Return [ array ] } Method [ final public method getPrevious ] { + + - Parameters [0] { + } + - Return [ ?Throwable ] } Method [ final public method getTraceAsString ] { + + - Parameters [0] { + } + - Return [ string ] } - Method [ public method __toString ] { + Method [ public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] } } } - Class [ class http\Exception\UnexpectedValueException extends UnexpectedValueException implements Throwable, http\Exception ] { + Class [ class http\Exception\UnexpectedValueException extends UnexpectedValueException implements Stringable, Throwable, http\Exception ] { - Constants [0] { } @@ -160,52 +192,86 @@ Extension [ extension #191 http version 3.2.3 ] { } - Properties [4] { - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $file ] - Property [ protected $line ] + Property [ protected $message = '' ] + Property [ protected $code = 0 ] + Property [ protected $file = NULL ] + Property [ protected $line = NULL ] } - Methods [10] { Method [ public method __construct ] { - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] + Parameter #0 [ string $message = ] + Parameter #1 [ int $code = 0 ] + Parameter #2 [ ?Throwable $previous = null ] } } Method [ public method __wakeup ] { + + - Parameters [0] { + } } Method [ final public method getMessage ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getCode ] { + + - Parameters [0] { + } } Method [ final public method getFile ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getLine ] { + + - Parameters [0] { + } + - Return [ int ] } Method [ final public method getTrace ] { + + - Parameters [0] { + } + - Return [ array ] } Method [ final public method getPrevious ] { + + - Parameters [0] { + } + - Return [ ?Throwable ] } Method [ final public method getTraceAsString ] { + + - Parameters [0] { + } + - Return [ string ] } - Method [ public method __toString ] { + Method [ public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] } } } - Class [ class http\Exception\BadMethodCallException extends BadMethodCallException implements Throwable, http\Exception ] { + Class [ class http\Exception\BadMethodCallException extends BadMethodCallException implements Throwable, Stringable, http\Exception ] { - Constants [0] { } @@ -217,52 +283,86 @@ Extension [ extension #191 http version 3.2.3 ] { } - Properties [4] { - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $file ] - Property [ protected $line ] + Property [ protected $message = '' ] + Property [ protected $code = 0 ] + Property [ protected $file = NULL ] + Property [ protected $line = NULL ] } - Methods [10] { Method [ public method __construct ] { - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] + Parameter #0 [ string $message = ] + Parameter #1 [ int $code = 0 ] + Parameter #2 [ ?Throwable $previous = null ] } } Method [ public method __wakeup ] { + + - Parameters [0] { + } } Method [ final public method getMessage ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getCode ] { + + - Parameters [0] { + } } Method [ final public method getFile ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getLine ] { + + - Parameters [0] { + } + - Return [ int ] } Method [ final public method getTrace ] { + + - Parameters [0] { + } + - Return [ array ] } Method [ final public method getPrevious ] { + + - Parameters [0] { + } + - Return [ ?Throwable ] } Method [ final public method getTraceAsString ] { + + - Parameters [0] { + } + - Return [ string ] } - Method [ public method __toString ] { + Method [ public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] } } } - Class [ class http\Exception\InvalidArgumentException extends InvalidArgumentException implements Throwable, http\Exception ] { + Class [ class http\Exception\InvalidArgumentException extends InvalidArgumentException implements Stringable, Throwable, http\Exception ] { - Constants [0] { } @@ -274,52 +374,86 @@ Extension [ extension #191 http version 3.2.3 ] { } - Properties [4] { - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $file ] - Property [ protected $line ] + Property [ protected $message = '' ] + Property [ protected $code = 0 ] + Property [ protected $file = NULL ] + Property [ protected $line = NULL ] } - Methods [10] { Method [ public method __construct ] { - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] + Parameter #0 [ string $message = ] + Parameter #1 [ int $code = 0 ] + Parameter #2 [ ?Throwable $previous = null ] } } Method [ public method __wakeup ] { + + - Parameters [0] { + } } Method [ final public method getMessage ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getCode ] { + + - Parameters [0] { + } } Method [ final public method getFile ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getLine ] { + + - Parameters [0] { + } + - Return [ int ] } Method [ final public method getTrace ] { + + - Parameters [0] { + } + - Return [ array ] } Method [ final public method getPrevious ] { + + - Parameters [0] { + } + - Return [ ?Throwable ] } Method [ final public method getTraceAsString ] { + + - Parameters [0] { + } + - Return [ string ] } - Method [ public method __toString ] { + Method [ public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] } } } - Class [ class http\Exception\BadHeaderException extends DomainException implements Throwable, http\Exception ] { + Class [ class http\Exception\BadHeaderException extends DomainException implements Stringable, Throwable, http\Exception ] { - Constants [0] { } @@ -331,52 +465,86 @@ Extension [ extension #191 http version 3.2.3 ] { } - Properties [4] { - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $file ] - Property [ protected $line ] + Property [ protected $message = '' ] + Property [ protected $code = 0 ] + Property [ protected $file = NULL ] + Property [ protected $line = NULL ] } - Methods [10] { Method [ public method __construct ] { - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] + Parameter #0 [ string $message = ] + Parameter #1 [ int $code = 0 ] + Parameter #2 [ ?Throwable $previous = null ] } } Method [ public method __wakeup ] { + + - Parameters [0] { + } } Method [ final public method getMessage ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getCode ] { + + - Parameters [0] { + } } Method [ final public method getFile ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getLine ] { + + - Parameters [0] { + } + - Return [ int ] } Method [ final public method getTrace ] { + + - Parameters [0] { + } + - Return [ array ] } Method [ final public method getPrevious ] { + + - Parameters [0] { + } + - Return [ ?Throwable ] } Method [ final public method getTraceAsString ] { + + - Parameters [0] { + } + - Return [ string ] } - Method [ public method __toString ] { + Method [ public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] } } } - Class [ class http\Exception\BadUrlException extends DomainException implements Throwable, http\Exception ] { + Class [ class http\Exception\BadUrlException extends DomainException implements Stringable, Throwable, http\Exception ] { - Constants [0] { } @@ -388,52 +556,86 @@ Extension [ extension #191 http version 3.2.3 ] { } - Properties [4] { - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $file ] - Property [ protected $line ] + Property [ protected $message = '' ] + Property [ protected $code = 0 ] + Property [ protected $file = NULL ] + Property [ protected $line = NULL ] } - Methods [10] { Method [ public method __construct ] { - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] + Parameter #0 [ string $message = ] + Parameter #1 [ int $code = 0 ] + Parameter #2 [ ?Throwable $previous = null ] } } Method [ public method __wakeup ] { + + - Parameters [0] { + } } Method [ final public method getMessage ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getCode ] { + + - Parameters [0] { + } } Method [ final public method getFile ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getLine ] { + + - Parameters [0] { + } + - Return [ int ] } Method [ final public method getTrace ] { + + - Parameters [0] { + } + - Return [ array ] } Method [ final public method getPrevious ] { + + - Parameters [0] { + } + - Return [ ?Throwable ] } Method [ final public method getTraceAsString ] { + + - Parameters [0] { + } + - Return [ string ] } - Method [ public method __toString ] { + Method [ public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] } } } - Class [ class http\Exception\BadMessageException extends DomainException implements Throwable, http\Exception ] { + Class [ class http\Exception\BadMessageException extends DomainException implements Stringable, Throwable, http\Exception ] { - Constants [0] { } @@ -445,52 +647,86 @@ Extension [ extension #191 http version 3.2.3 ] { } - Properties [4] { - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $file ] - Property [ protected $line ] + Property [ protected $message = '' ] + Property [ protected $code = 0 ] + Property [ protected $file = NULL ] + Property [ protected $line = NULL ] } - Methods [10] { Method [ public method __construct ] { - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] + Parameter #0 [ string $message = ] + Parameter #1 [ int $code = 0 ] + Parameter #2 [ ?Throwable $previous = null ] } } Method [ public method __wakeup ] { + + - Parameters [0] { + } } Method [ final public method getMessage ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getCode ] { + + - Parameters [0] { + } } Method [ final public method getFile ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getLine ] { + + - Parameters [0] { + } + - Return [ int ] } Method [ final public method getTrace ] { + + - Parameters [0] { + } + - Return [ array ] } Method [ final public method getPrevious ] { + + - Parameters [0] { + } + - Return [ ?Throwable ] } Method [ final public method getTraceAsString ] { + + - Parameters [0] { + } + - Return [ string ] } - Method [ public method __toString ] { + Method [ public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] } } } - Class [ class http\Exception\BadConversionException extends DomainException implements Throwable, http\Exception ] { + Class [ class http\Exception\BadConversionException extends DomainException implements Stringable, Throwable, http\Exception ] { - Constants [0] { } @@ -502,52 +738,86 @@ Extension [ extension #191 http version 3.2.3 ] { } - Properties [4] { - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $file ] - Property [ protected $line ] + Property [ protected $message = '' ] + Property [ protected $code = 0 ] + Property [ protected $file = NULL ] + Property [ protected $line = NULL ] } - Methods [10] { Method [ public method __construct ] { - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] + Parameter #0 [ string $message = ] + Parameter #1 [ int $code = 0 ] + Parameter #2 [ ?Throwable $previous = null ] } } Method [ public method __wakeup ] { + + - Parameters [0] { + } } Method [ final public method getMessage ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getCode ] { + + - Parameters [0] { + } } Method [ final public method getFile ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getLine ] { + + - Parameters [0] { + } + - Return [ int ] } Method [ final public method getTrace ] { + + - Parameters [0] { + } + - Return [ array ] } Method [ final public method getPrevious ] { + + - Parameters [0] { + } + - Return [ ?Throwable ] } Method [ final public method getTraceAsString ] { + + - Parameters [0] { + } + - Return [ string ] } - Method [ public method __toString ] { + Method [ public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] } } } - Class [ class http\Exception\BadQueryStringException extends DomainException implements Throwable, http\Exception ] { + Class [ class http\Exception\BadQueryStringException extends DomainException implements Stringable, Throwable, http\Exception ] { - Constants [0] { } @@ -559,47 +829,81 @@ Extension [ extension #191 http version 3.2.3 ] { } - Properties [4] { - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $file ] - Property [ protected $line ] + Property [ protected $message = '' ] + Property [ protected $code = 0 ] + Property [ protected $file = NULL ] + Property [ protected $line = NULL ] } - Methods [10] { Method [ public method __construct ] { - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] + Parameter #0 [ string $message = ] + Parameter #1 [ int $code = 0 ] + Parameter #2 [ ?Throwable $previous = null ] } } Method [ public method __wakeup ] { + + - Parameters [0] { + } } Method [ final public method getMessage ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getCode ] { + + - Parameters [0] { + } } Method [ final public method getFile ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getLine ] { + + - Parameters [0] { + } + - Return [ int ] } Method [ final public method getTrace ] { + + - Parameters [0] { + } + - Return [ array ] } Method [ final public method getPrevious ] { + + - Parameters [0] { + } + - Return [ ?Throwable ] } Method [ final public method getTraceAsString ] { + + - Parameters [0] { + } + - Return [ string ] } - Method [ public method __toString ] { + Method [ public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] } } } @@ -607,9 +911,9 @@ Extension [ extension #191 http version 3.2.3 ] { Class [ 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 [ extension #191 http version 3.2.3 ] { Method [ public method __construct ] { - Parameters [3] { - Parameter #0 [ $cookie_string ] - Parameter #1 [ $parser_flags ] - Parameter #2 [ $allowed_extras ] + Parameter #0 [ $cookie_string = ] + Parameter #1 [ $parser_flags = ] + Parameter #2 [ $allowed_extras = ] } } @@ -640,7 +944,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method setCookies ] { - Parameters [1] { - Parameter #0 [ $cookies ] + Parameter #0 [ $cookies = ] } } @@ -662,7 +966,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ $cookie_name ] - Parameter #1 [ $cookie_value ] + Parameter #1 [ $cookie_value = ] } } @@ -683,7 +987,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method setExtras ] { - Parameters [1] { - Parameter #0 [ $extras ] + Parameter #0 [ $extras = ] } } @@ -705,7 +1009,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ $extra_name ] - Parameter #1 [ $extra_value ] + Parameter #1 [ $extra_value = ] } } @@ -726,7 +1030,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method setDomain ] { - Parameters [1] { - Parameter #0 [ $value ] + Parameter #0 [ $value = ] } } @@ -739,7 +1043,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method setPath ] { - Parameters [1] { - Parameter #0 [ $value ] + Parameter #0 [ $value = ] } } @@ -752,7 +1056,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method setExpires ] { - Parameters [1] { - Parameter #0 [ $value ] + Parameter #0 [ $value = ] } } @@ -765,7 +1069,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method setMaxAge ] { - Parameters [1] { - Parameter #0 [ $value ] + Parameter #0 [ $value = ] } } @@ -778,7 +1082,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method setFlags ] { - Parameters [1] { - Parameter #0 [ $value ] + Parameter #0 [ $value = ] } } @@ -805,9 +1109,9 @@ Extension [ extension #191 http version 3.2.3 ] { Class [ 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 [ extension #191 http version 3.2.3 ] { Method [ public method __construct ] { - Parameters [1] { - Parameter #0 [ $flags ] + Parameter #0 [ $flags = ] } } @@ -857,9 +1161,9 @@ Extension [ extension #191 http version 3.2.3 ] { Class [ 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 [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ $data ] - Parameter #1 [ &$decoded_len ] + Parameter #1 [ &$decoded_len = ] } } } @@ -882,7 +1186,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method __construct ] { - Parameters [1] { - Parameter #0 [ $flags ] + Parameter #0 [ $flags = ] } } @@ -916,20 +1220,20 @@ Extension [ extension #191 http version 3.2.3 ] { Class [ 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 [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ $data ] - Parameter #1 [ $flags ] + Parameter #1 [ $flags = ] } } } @@ -952,7 +1256,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method __construct ] { - Parameters [1] { - Parameter #0 [ $flags ] + Parameter #0 [ $flags = ] } } @@ -986,9 +1290,9 @@ Extension [ extension #191 http version 3.2.3 ] { Class [ 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 [ extension #191 http version 3.2.3 ] { Method [ public method __construct ] { - Parameters [1] { - Parameter #0 [ $flags ] + Parameter #0 [ $flags = ] } } @@ -1044,18 +1348,18 @@ Extension [ extension #191 http version 3.2.3 ] { Class [ 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 [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ $data ] - Parameter #1 [ $flags ] + Parameter #1 [ $flags = ] } } } @@ -1078,7 +1382,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method __construct ] { - Parameters [1] { - Parameter #0 [ $flags ] + Parameter #0 [ $flags = ] } } @@ -1112,9 +1416,9 @@ Extension [ extension #191 http version 3.2.3 ] { Class [ 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 [ extension #191 http version 3.2.3 ] { Method [ public method __construct ] { - Parameters [1] { - Parameter #0 [ $flags ] + Parameter #0 [ $flags = ] } } @@ -1170,11 +1474,11 @@ Extension [ extension #191 http version 3.2.3 ] { Class [ 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 [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ $string ] - Parameter #1 [ $header_class ] + Parameter #1 [ $header_class = ] } } } - Properties [2] { - Property [ public $name ] - Property [ public $value ] + Property [ public $name = NULL ] + Property [ public $value = NULL ] } - Methods [8] { Method [ public method __construct ] { - Parameters [2] { - Parameter #0 [ $name ] - Parameter #1 [ $value ] + Parameter #0 [ $name = ] + Parameter #1 [ $value = ] } } @@ -1233,7 +1537,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ $value ] - Parameter #1 [ $flags ] + Parameter #1 [ $flags = ] } } @@ -1241,17 +1545,17 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ $supported ] - Parameter #1 [ &$result ] + Parameter #1 [ &$result = ] } } Method [ public method getParams ] { - Parameters [4] { - Parameter #0 [ $param_sep ] - Parameter #1 [ $arg_sep ] - Parameter #2 [ $val_sep ] - Parameter #3 [ $flags ] + Parameter #0 [ $param_sep = ] + Parameter #1 [ $arg_sep = ] + Parameter #2 [ $val_sep = ] + Parameter #3 [ $flags = ] } } } @@ -1260,14 +1564,14 @@ Extension [ extension #191 http version 3.2.3 ] { Class [ 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 [ extension #191 http version 3.2.3 ] { - Parameters [3] { Parameter #0 [ $data ] Parameter #1 [ $flags ] - Parameter #2 [ array or NULL &$headers ] + Parameter #2 [ ?array &$headers ] } } @@ -1300,7 +1604,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [3] { Parameter #0 [ $stream ] Parameter #1 [ $flags ] - Parameter #2 [ array or NULL &$headers ] + Parameter #2 [ ?array &$headers ] } } } @@ -1309,9 +1613,9 @@ Extension [ extension #191 http version 3.2.3 ] { Class [ 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 [ extension #191 http version 3.2.3 ] { } - Properties [9] { - Property [ protected $type ] - Property [ protected $body ] - Property [ protected $requestMethod ] - Property [ protected $requestUrl ] - Property [ protected $responseStatus ] - Property [ protected $responseCode ] - Property [ protected $httpVersion ] - Property [ protected $headers ] - Property [ 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 [ public method __construct ] { - Parameters [2] { - Parameter #0 [ $message ] - Parameter #1 [ $greedy ] + Parameter #0 [ $message = ] + Parameter #1 [ $greedy = ] } } @@ -1365,7 +1669,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ $header ] - Parameter #1 [ $into_class ] + Parameter #1 [ $into_class = ] } } @@ -1373,7 +1677,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ $header ] - Parameter #1 [ $value ] + Parameter #1 [ $value = ] } } @@ -1394,7 +1698,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method setHeaders ] { - Parameters [1] { - Parameter #0 [ array or NULL $headers ] + Parameter #0 [ ?array $headers ] } } @@ -1402,7 +1706,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ array $headers ] - Parameter #1 [ $append ] + Parameter #1 [ $append = ] } } @@ -1442,7 +1746,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ $response_code ] - Parameter #1 [ $strict ] + Parameter #1 [ $strict = ] } } @@ -1507,7 +1811,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method toString ] { - Parameters [1] { - Parameter #0 [ $include_parent ] + Parameter #0 [ $include_parent = ] } } @@ -1590,7 +1894,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ http\Message $message ] - Parameter #1 [ $top ] + Parameter #1 [ $top = ] } } @@ -1603,7 +1907,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method isMultipart ] { - Parameters [1] { - Parameter #0 [ &$boundary ] + Parameter #0 [ &$boundary = ] } } @@ -1618,21 +1922,21 @@ Extension [ extension #191 http version 3.2.3 ] { Class [ 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 [ extension #191 http version 3.2.3 ] { Method [ public method __construct ] { - Parameters [1] { - Parameter #0 [ $stream ] + Parameter #0 [ $stream = ] } } @@ -1722,8 +2026,8 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [3] { Parameter #0 [ $stream ] - Parameter #1 [ $offset ] - Parameter #2 [ $maxlen ] + Parameter #1 [ $offset = ] + Parameter #2 [ $maxlen = ] } } @@ -1731,8 +2035,8 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [3] { Parameter #0 [ $callback ] - Parameter #1 [ $offset ] - Parameter #2 [ $maxlen ] + Parameter #1 [ $offset = ] + Parameter #2 [ $maxlen = ] } } @@ -1758,8 +2062,8 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method addForm ] { - Parameters [2] { - Parameter #0 [ array or NULL $fields ] - Parameter #1 [ array or NULL $files ] + Parameter #0 [ ?array $fields = ] + Parameter #1 [ ?array $files = ] } } @@ -1779,7 +2083,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method stat ] { - Parameters [1] { - Parameter #0 [ $field ] + Parameter #0 [ $field = ] } } } @@ -1788,16 +2092,16 @@ Extension [ extension #191 http version 3.2.3 ] { Class [ 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 [ extension #191 http version 3.2.3 ] { } - Properties [1] { - Property [ private $queryArray ] + Property [ private $queryArray = NULL ] } - Methods [20] { Method [ final public method __construct ] { - Parameters [1] { - Parameter #0 [ $params ] + Parameter #0 [ $params = ] } } @@ -1841,10 +2145,10 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method get ] { - Parameters [4] { - Parameter #0 [ $name ] - Parameter #1 [ $type ] - Parameter #2 [ $defval ] - Parameter #3 [ $delete ] + Parameter #0 [ $name = ] + Parameter #1 [ $type = ] + Parameter #2 [ $defval = ] + Parameter #3 [ $delete = ] } } @@ -1858,7 +2162,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method mod ] { - Parameters [1] { - Parameter #0 [ $params ] + Parameter #0 [ $params = ] } } @@ -1866,8 +2170,8 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [3] { Parameter #0 [ $name ] - Parameter #1 [ $defval ] - Parameter #2 [ $delete ] + Parameter #1 [ $defval = ] + Parameter #2 [ $delete = ] } } @@ -1875,8 +2179,8 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [3] { Parameter #0 [ $name ] - Parameter #1 [ $defval ] - Parameter #2 [ $delete ] + Parameter #1 [ $defval = ] + Parameter #2 [ $delete = ] } } @@ -1884,8 +2188,8 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [3] { Parameter #0 [ $name ] - Parameter #1 [ $defval ] - Parameter #2 [ $delete ] + Parameter #1 [ $defval = ] + Parameter #2 [ $delete = ] } } @@ -1893,8 +2197,8 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [3] { Parameter #0 [ $name ] - Parameter #1 [ $defval ] - Parameter #2 [ $delete ] + Parameter #1 [ $defval = ] + Parameter #2 [ $delete = ] } } @@ -1902,8 +2206,8 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [3] { Parameter #0 [ $name ] - Parameter #1 [ $defval ] - Parameter #2 [ $delete ] + Parameter #1 [ $defval = ] + Parameter #2 [ $delete = ] } } @@ -1911,8 +2215,8 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [3] { Parameter #0 [ $name ] - Parameter #1 [ $defval ] - Parameter #2 [ $delete ] + Parameter #1 [ $defval = ] + Parameter #2 [ $delete = ] } } @@ -1969,12 +2273,12 @@ Extension [ extension #191 http version 3.2.3 ] { Class [ 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 [ extension #191 http version 3.2.3 ] { } - Properties [4] { - Property [ private $observers ] - Property [ protected $options ] - Property [ protected $history ] - Property [ public $recordHistory ] + Property [ private $observers = NULL ] + Property [ protected $options = NULL ] + Property [ protected $history = NULL ] + Property [ public $recordHistory = false ] } - Methods [31] { Method [ public method __construct ] { - Parameters [2] { - Parameter #0 [ $driver ] - Parameter #1 [ $persistent_handle_id ] + Parameter #0 [ $driver = ] + Parameter #1 [ $persistent_handle_id = ] } } @@ -2014,7 +2318,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ http\Client\Request $request ] - Parameter #1 [ $callable ] + Parameter #1 [ $callable = ] } } @@ -2029,7 +2333,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ http\Client\Request $request ] - Parameter #1 [ $callable ] + Parameter #1 [ $callable = ] } } @@ -2054,14 +2358,14 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method wait ] { - Parameters [1] { - Parameter #0 [ $timeout ] + Parameter #0 [ $timeout = ] } } Method [ public method getResponse ] { - Parameters [1] { - Parameter #0 [ http\Client\Request or NULL $request ] + Parameter #0 [ ?http\Client\Request $request = ] } } @@ -2074,29 +2378,29 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method configure ] { - Parameters [1] { - Parameter #0 [ array or NULL $settings ] + Parameter #0 [ ?array $settings ] } } Method [ public method enablePipelining ] { - Parameters [1] { - Parameter #0 [ $enable ] + Parameter #0 [ $enable = ] } } Method [ public method enableEvents ] { - Parameters [1] { - Parameter #0 [ $enable ] + Parameter #0 [ $enable = ] } } Method [ public method notify ] { - Parameters [2] { - Parameter #0 [ http\Client\Request or NULL $request ] - Parameter #1 [ $progress ] + Parameter #0 [ ?http\Client\Request $request = ] + Parameter #1 [ $progress = ] } } @@ -2137,7 +2441,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method setOptions ] { - Parameters [1] { - Parameter #0 [ array or NULL $options ] + Parameter #0 [ ?array $options = ] } } @@ -2150,14 +2454,14 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method setSslOptions ] { - Parameters [1] { - Parameter #0 [ array or NULL $ssl_option ] + Parameter #0 [ ?array $ssl_option = ] } } Method [ public method addSslOptions ] { - Parameters [1] { - Parameter #0 [ array or NULL $ssl_options ] + Parameter #0 [ ?array $ssl_options = ] } } @@ -2170,14 +2474,14 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method setCookies ] { - Parameters [1] { - Parameter #0 [ array or NULL $cookies ] + Parameter #0 [ ?array $cookies = ] } } Method [ public method addCookies ] { - Parameters [1] { - Parameter #0 [ array or NULL $cookies ] + Parameter #0 [ ?array $cookies = ] } } @@ -2211,9 +2515,9 @@ Extension [ extension #191 http version 3.2.3 ] { Class [ 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 [ extension #191 http version 3.2.3 ] { } - Properties [10] { - Property [ protected $type ] - Property [ protected $body ] - Property [ protected $requestMethod ] - Property [ protected $requestUrl ] - Property [ protected $responseStatus ] - Property [ protected $responseCode ] - Property [ protected $httpVersion ] - Property [ protected $headers ] - Property [ protected $parentMessage ] - Property [ 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 [ public method __construct ] { - Parameters [4] { - Parameter #0 [ $method ] - Parameter #1 [ $url ] - Parameter #2 [ array or NULL $headers ] - Parameter #3 [ http\Message\Body or NULL $body ] + Parameter #0 [ $method = ] + Parameter #1 [ $url = ] + Parameter #2 [ ?array $headers = ] + Parameter #3 [ ?http\Message\Body $body = ] } } @@ -2262,7 +2566,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method setQuery ] { - Parameters [1] { - Parameter #0 [ $query_data ] + Parameter #0 [ $query_data = ] } } @@ -2282,7 +2586,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method setOptions ] { - Parameters [1] { - Parameter #0 [ array or NULL $options ] + Parameter #0 [ ?array $options = ] } } @@ -2295,7 +2599,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method setSslOptions ] { - Parameters [1] { - Parameter #0 [ array or NULL $ssl_options ] + Parameter #0 [ ?array $ssl_options = ] } } @@ -2308,7 +2612,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method addSslOptions ] { - Parameters [1] { - Parameter #0 [ array or NULL $ssl_options ] + Parameter #0 [ ?array $ssl_options = ] } } @@ -2336,7 +2640,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ $header ] - Parameter #1 [ $into_class ] + Parameter #1 [ $into_class = ] } } @@ -2344,7 +2648,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ $header ] - Parameter #1 [ $value ] + Parameter #1 [ $value = ] } } @@ -2365,7 +2669,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method setHeaders ] { - Parameters [1] { - Parameter #0 [ array or NULL $headers ] + Parameter #0 [ ?array $headers ] } } @@ -2373,7 +2677,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ array $headers ] - Parameter #1 [ $append ] + Parameter #1 [ $append = ] } } @@ -2413,7 +2717,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ $response_code ] - Parameter #1 [ $strict ] + Parameter #1 [ $strict = ] } } @@ -2478,7 +2782,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method toString ] { - Parameters [1] { - Parameter #0 [ $include_parent ] + Parameter #0 [ $include_parent = ] } } @@ -2561,7 +2865,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ http\Message $message ] - Parameter #1 [ $top ] + Parameter #1 [ $top = ] } } @@ -2574,7 +2878,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method isMultipart ] { - Parameters [1] { - Parameter #0 [ &$boundary ] + Parameter #0 [ &$boundary = ] } } @@ -2589,9 +2893,9 @@ Extension [ extension #191 http version 3.2.3 ] { Class [ 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 [ extension #191 http version 3.2.3 ] { } - Properties [10] { - Property [ protected $type ] - Property [ protected $body ] - Property [ protected $requestMethod ] - Property [ protected $requestUrl ] - Property [ protected $responseStatus ] - Property [ protected $responseCode ] - Property [ protected $httpVersion ] - Property [ protected $headers ] - Property [ protected $parentMessage ] - Property [ 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 [ public method getCookies ] { - Parameters [2] { - Parameter #0 [ $flags ] - Parameter #1 [ $allowed_extras ] + Parameter #0 [ $flags = ] + Parameter #1 [ $allowed_extras = ] } } Method [ public method getTransferInfo ] { - Parameters [1] { - Parameter #0 [ $element ] + Parameter #0 [ $element = ] } } Method [ public method __construct ] { - Parameters [2] { - Parameter #0 [ $message ] - Parameter #1 [ $greedy ] + Parameter #0 [ $message = ] + Parameter #1 [ $greedy = ] } } @@ -2661,7 +2965,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ $header ] - Parameter #1 [ $into_class ] + Parameter #1 [ $into_class = ] } } @@ -2669,7 +2973,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ $header ] - Parameter #1 [ $value ] + Parameter #1 [ $value = ] } } @@ -2690,7 +2994,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method setHeaders ] { - Parameters [1] { - Parameter #0 [ array or NULL $headers ] + Parameter #0 [ ?array $headers ] } } @@ -2698,7 +3002,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ array $headers ] - Parameter #1 [ $append ] + Parameter #1 [ $append = ] } } @@ -2738,7 +3042,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ $response_code ] - Parameter #1 [ $strict ] + Parameter #1 [ $strict = ] } } @@ -2803,7 +3107,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method toString ] { - Parameters [1] { - Parameter #0 [ $include_parent ] + Parameter #0 [ $include_parent = ] } } @@ -2886,7 +3190,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ http\Message $message ] - Parameter #1 [ $top ] + Parameter #1 [ $top = ] } } @@ -2899,7 +3203,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method isMultipart ] { - Parameters [1] { - Parameter #0 [ &$boundary ] + Parameter #0 [ &$boundary = ] } } @@ -2914,11 +3218,11 @@ Extension [ extension #191 http version 3.2.3 ] { Interface [ 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 [ extension #191 http version 3.2.3 ] { Method [ abstract public method timer ] { - Parameters [1] { - Parameter #0 [ integer $timeout_ms ] + Parameter #0 [ int $timeout_ms ] } } @@ -2949,7 +3253,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ $socket ] - Parameter #1 [ integer $action ] + Parameter #1 [ int $action ] } } @@ -2962,7 +3266,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ abstract public method wait ] { - Parameters [1] { - Parameter #0 [ integer $timeout_ms ] + Parameter #0 [ int $timeout_ms = ] } } @@ -2977,28 +3281,28 @@ Extension [ extension #191 http version 3.2.3 ] { Class [ 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 [ extension #191 http version 3.2.3 ] { } - Properties [8] { - Property [ public $scheme ] - Property [ public $user ] - Property [ public $pass ] - Property [ public $host ] - Property [ public $port ] - Property [ public $path ] - Property [ public $query ] - Property [ 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 [ public method __construct ] { - Parameters [3] { - Parameter #0 [ $old_url ] - Parameter #1 [ $new_url ] - Parameter #2 [ $flags ] + Parameter #0 [ $old_url = ] + Parameter #1 [ $new_url = ] + Parameter #2 [ $flags = ] } } @@ -3032,7 +3336,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ $more_url_parts ] - Parameter #1 [ $flags ] + Parameter #1 [ $flags = ] } } @@ -3059,28 +3363,28 @@ Extension [ extension #191 http version 3.2.3 ] { Class [ 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 [ extension #191 http version 3.2.3 ] { } - Properties [8] { - Property [ public $scheme ] - Property [ public $user ] - Property [ public $pass ] - Property [ public $host ] - Property [ public $port ] - Property [ public $path ] - Property [ public $query ] - Property [ 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 [ public method __construct ] { - Parameters [3] { - Parameter #0 [ $old_url ] - Parameter #1 [ $new_url ] - Parameter #2 [ $flags ] + Parameter #0 [ $old_url = ] + Parameter #1 [ $new_url = ] + Parameter #2 [ $flags = ] } } @@ -3114,7 +3418,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ $more_url_parts ] - Parameter #1 [ $flags ] + Parameter #1 [ $flags = ] } } @@ -3150,14 +3454,14 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ static public method getRequestHeader ] { - Parameters [1] { - Parameter #0 [ $header_name ] + Parameter #0 [ $header_name = ] } } Method [ static public method getRequestBody ] { - Parameters [1] { - Parameter #0 [ $body_class_name ] + Parameter #0 [ $body_class_name = ] } } @@ -3177,7 +3481,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ static public method getResponseHeader ] { - Parameters [1] { - Parameter #0 [ $header_name ] + Parameter #0 [ $header_name = ] } } @@ -3191,9 +3495,9 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [4] { Parameter #0 [ $header_name ] - Parameter #1 [ $header_value ] - Parameter #2 [ $response_code ] - Parameter #3 [ $replace_header ] + Parameter #1 [ $header_value = ] + Parameter #2 [ $response_code = ] + Parameter #3 [ $replace_header = ] } } @@ -3208,7 +3512,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ $supported ] - Parameter #1 [ &$result_array ] + Parameter #1 [ &$result_array = ] } } @@ -3216,7 +3520,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ $supported ] - Parameter #1 [ &$result_array ] + Parameter #1 [ &$result_array = ] } } @@ -3224,7 +3528,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ $supported ] - Parameter #1 [ &$result_array ] + Parameter #1 [ &$result_array = ] } } @@ -3232,7 +3536,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ $supported ] - Parameter #1 [ &$result_array ] + Parameter #1 [ &$result_array = ] } } @@ -3241,8 +3545,8 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [4] { Parameter #0 [ $params ] Parameter #1 [ $supported ] - Parameter #2 [ $primary_type_separator ] - Parameter #3 [ &$result_array ] + Parameter #2 [ $primary_type_separator = ] + Parameter #3 [ &$result_array = ] } } } @@ -3257,9 +3561,9 @@ Extension [ extension #191 http version 3.2.3 ] { Class [ 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 [ extension #191 http version 3.2.3 ] { } - Properties [13] { - Property [ protected $type ] - Property [ protected $body ] - Property [ protected $requestMethod ] - Property [ protected $requestUrl ] - Property [ protected $responseStatus ] - Property [ protected $responseCode ] - Property [ protected $httpVersion ] - Property [ protected $headers ] - Property [ protected $parentMessage ] - Property [ protected $query ] - Property [ protected $form ] - Property [ protected $cookie ] - Property [ 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 [ extension #191 http version 3.2.3 ] { Method [ public method getForm ] { - Parameters [4] { - Parameter #0 [ $name ] - Parameter #1 [ $type ] - Parameter #2 [ $defval ] - Parameter #3 [ $delete ] + Parameter #0 [ $name = ] + Parameter #1 [ $type = ] + Parameter #2 [ $defval = ] + Parameter #3 [ $delete = ] } } Method [ public method getQuery ] { - Parameters [4] { - Parameter #0 [ $name ] - Parameter #1 [ $type ] - Parameter #2 [ $defval ] - Parameter #3 [ $delete ] + Parameter #0 [ $name = ] + Parameter #1 [ $type = ] + Parameter #2 [ $defval = ] + Parameter #3 [ $delete = ] } } Method [ public method getCookie ] { - Parameters [4] { - Parameter #0 [ $name ] - Parameter #1 [ $type ] - Parameter #2 [ $defval ] - Parameter #3 [ $delete ] + Parameter #0 [ $name = ] + Parameter #1 [ $type = ] + Parameter #2 [ $defval = ] + Parameter #3 [ $delete = ] } } @@ -3351,7 +3655,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ $header ] - Parameter #1 [ $into_class ] + Parameter #1 [ $into_class = ] } } @@ -3359,7 +3663,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ $header ] - Parameter #1 [ $value ] + Parameter #1 [ $value = ] } } @@ -3380,7 +3684,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method setHeaders ] { - Parameters [1] { - Parameter #0 [ array or NULL $headers ] + Parameter #0 [ ?array $headers ] } } @@ -3388,7 +3692,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ array $headers ] - Parameter #1 [ $append ] + Parameter #1 [ $append = ] } } @@ -3428,7 +3732,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ $response_code ] - Parameter #1 [ $strict ] + Parameter #1 [ $strict = ] } } @@ -3493,7 +3797,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method toString ] { - Parameters [1] { - Parameter #0 [ $include_parent ] + Parameter #0 [ $include_parent = ] } } @@ -3576,7 +3880,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ http\Message $message ] - Parameter #1 [ $top ] + Parameter #1 [ $top = ] } } @@ -3589,7 +3893,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method isMultipart ] { - Parameters [1] { - Parameter #0 [ &$boundary ] + Parameter #0 [ &$boundary = ] } } @@ -3604,14 +3908,14 @@ Extension [ extension #191 http version 3.2.3 ] { Class [ 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 [ extension #191 http version 3.2.3 ] { } - Properties [19] { - Property [ protected $type ] - Property [ protected $body ] - Property [ protected $requestMethod ] - Property [ protected $requestUrl ] - Property [ protected $responseStatus ] - Property [ protected $responseCode ] - Property [ protected $httpVersion ] - Property [ protected $headers ] - Property [ protected $parentMessage ] - Property [ protected $request ] - Property [ protected $cookies ] - Property [ protected $contentType ] - Property [ protected $contentDisposition ] - Property [ protected $contentEncoding ] - Property [ protected $cacheControl ] - Property [ protected $etag ] - Property [ protected $lastModified ] - Property [ protected $throttleDelay ] - Property [ 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 [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ $ob_string ] - Parameter #1 [ $ob_flags ] + Parameter #1 [ $ob_flags = ] } } Method [ public method setEnvRequest ] { - Parameters [1] { - Parameter #0 [ http\Message or NULL $env_request ] + Parameter #0 [ ?http\Message $env_request ] } } @@ -3681,7 +3985,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method setContentDisposition ] { - Parameters [1] { - Parameter #0 [ array or NULL $disposition_params ] + Parameter #0 [ ?array $disposition_params ] } } @@ -3709,7 +4013,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method isCachedByLastModified ] { - Parameters [1] { - Parameter #0 [ $header_name ] + Parameter #0 [ $header_name = ] } } @@ -3723,7 +4027,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method isCachedByEtag ] { - Parameters [1] { - Parameter #0 [ $header_name ] + Parameter #0 [ $header_name = ] } } @@ -3731,14 +4035,14 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ $chunk_size ] - Parameter #1 [ $delay ] + Parameter #1 [ $delay = ] } } Method [ public method send ] { - Parameters [1] { - Parameter #0 [ $stream ] + Parameter #0 [ $stream = ] } } @@ -3766,7 +4070,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ $header ] - Parameter #1 [ $into_class ] + Parameter #1 [ $into_class = ] } } @@ -3774,7 +4078,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ $header ] - Parameter #1 [ $value ] + Parameter #1 [ $value = ] } } @@ -3795,7 +4099,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method setHeaders ] { - Parameters [1] { - Parameter #0 [ array or NULL $headers ] + Parameter #0 [ ?array $headers ] } } @@ -3803,7 +4107,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ array $headers ] - Parameter #1 [ $append ] + Parameter #1 [ $append = ] } } @@ -3843,7 +4147,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ $response_code ] - Parameter #1 [ $strict ] + Parameter #1 [ $strict = ] } } @@ -3908,7 +4212,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method toString ] { - Parameters [1] { - Parameter #0 [ $include_parent ] + Parameter #0 [ $include_parent = ] } } @@ -3991,7 +4295,7 @@ Extension [ extension #191 http version 3.2.3 ] { - Parameters [2] { Parameter #0 [ http\Message $message ] - Parameter #1 [ $top ] + Parameter #1 [ $top = ] } } @@ -4004,7 +4308,7 @@ Extension [ extension #191 http version 3.2.3 ] { Method [ public method isMultipart ] { - Parameters [1] { - Parameter #0 [ &$boundary ] + Parameter #0 [ &$boundary = ] } } @@ -4023,14 +4327,14 @@ Extension [ 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 [ extension #191 http version 3.2.3 ] { } - Properties [5] { - Property [ public $params ] - Property [ public $param_sep ] - Property [ public $arg_sep ] - Property [ public $val_sep ] - Property [ 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 [ final public method __construct ] { - Parameters [5] { - Parameter #0 [ $params ] - Parameter #1 [ $param_sep ] - Parameter #2 [ $arg_sep ] - Parameter #3 [ $val_sep ] - Parameter #4 [ $flags ] + Parameter #0 [ $params = ] + Parameter #1 [ $param_sep = ] + Parameter #2 [ $arg_sep = ] + Parameter #3 [ $val_sep = ] + Parameter #4 [ $flags = ] } } 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 - 4.0.0~beta1-2 +- rebuild for PHP 8.0.0RC1 + +* Wed Sep 23 2020 Remi Collet - 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 - 3.2.3-1 - update to 3.2.3 -- cgit