Closed Girgias closed 1 month ago
Added Classes:
entry for Random Extention 5.0 RFC related PR (https://github.com/php/php-src/pull/8094).
SplFileInfo::_bad_state_ex()
Didn't see any references in the documentation 👀
@saundefined, SplFileInfo::_bad_state_ex()
is undocumented so far.
**SKFAD*** constants available since 8.2.0alpha2 (see https://github.com/php/php-src/blob/php-8.2.0alpha2/ext/sockets/sockets.c#L575-L628) are missing in Sockets list
Come from commit https://github.com/php/php-src/commit/d677cc13ce9b23fdfacd812483d940fd3393b51c
good call @llaville, I ll add them in the existing PR.
The return value of DateTime::getLastErrors()
may change.
See https://github.com/php/php-src/issues/9431#issuecomment-1230316507
https://wiki.php.net/rfc/strtolower-ascii PHP RFC: Locale-independent case conversion should be added for the functions in https://wiki.php.net/rfc/strtolower-ascii#proposal
Can't edit description; I made #1933 for libxml_get_external_entity_loader().
[edit] Doc updates for my case conversion RFC are at #1934.
Modifier /n
(NO_AUTO_CAPTURE
) is missing in documentation: https://github.com/php/doc-en/blob/master/reference/pcre/pattern.modifiers.xml
https://www.php.net/manual/en/migration82.new-features.php#migration82.new-features.pcre https://php.watch/versions/8.2/preg-n-no-capture-modifier
SKF_*
constants are missing in migration page
https://www.php.net/manual/en/migration82.constants.php#migration82.constants.sockets, but documented https://www.php.net/manual/en/sockets.constants.php#constant.socket-skfadoff
CURLINFO_EFFECTIVE_METHOD
constant is missing in documentation: https://www.php.net/manual/en/curl.constants.php
https://www.php.net/manual/en/migration82.new-features.php#migration82.new-features.curl
with PR #1911 already merged and looking at the latest curl docs, all of the curl constants listed on this tracker can be marked as completed. I did notice that while PR #1540 documented CURLOPT_XFERINFOFUNCTION, it is missing from the predefined constants page.
Finally, all the items have been completed.
Thanks to everyone that was involved!
Pages which need to be added/modified for complete documentation of PHP 8.2:
Based of the migration guide: https://www.php.net/manual/en/migration82.php (https://github.com/php/doc-en/pull/1799)
Core
Classes:
Functions/Methods:
curl_upkeep()
(#1807)imap_is_open()
(#2583)mysqli_execute_query()
(#1855)openssl_cipher_key_length()
(#1808)ReflectionFunction::isAnonymous()
(#1742)ReflectionMethod::hasPrototype()
(#1742)sodium_crypto_stream_xchacha20_xor_ic()
(#1817)memory_reset_peak_usage()
(#1809)ini_parse_quantity()
(#1810)libxml_get_external_entity_loader()
(#1933)ZipArchive::clearError()
(f57925e)ZipArchive::getStreamName()
(f57925e)ZipArchive::getStreamIndex()
(f57925e)dba_open()
/dba_popen()
(#1267)dba_fetch()
(#1939)random_bytes()
(#1813)random_int()
(#1813)iterator_to_array()
iterator_count()
getimagesize()
(#1821)SplFileInfo::_bad_state_ex()
(method was undocumented)utf8_encode()
(#1743)utf8_decode()
(#1743)Constants:
[x] New:
[x] COM_DOTNET:
[x] DISP_E_PARAMNOTFOUND
[x] LOCALE_NEUTRAL
[x] cURL:
[x] CURLALTSVC_H1 (libcurl >= 7.64.1)
[x] CURLALTSVC_H2 (libcurl >= 7.64.1)
[x] CURLALTSVC_H3 (libcurl >= 7.64.1)
[x] CURLALTSVC_READONLYFILE (libcurl >= 7.64.1)
[x] CURLAUTH_AWS_SIGV4 (libcurl >= 7.75.0) (#1911)
[x] CURLE_PROXY (libcurl >= 7.73.0)
[x] CURLFTPMETHOD_DEFAULT
[x] CURLHSTS_ENABLE (libcurl >= 7.74.0) (#1911)
[x] CURLHSTS_READONLYFILE (libcurl >= 7.74.0) (#1911)
[x] CURLINFO_PROXY_ERROR (libcurl >= 7.73.0) (#1911)
[x] CURLINFO_REFERER (libcurl >= 7.76.0) (#1911)
[x] CURLINFO_RETRY_AFTER (libcurl >= 7.66.0) (#1911)
[x] CURLMOPT_MAX_CONCURRENT_STREAMS (libcurl >= 7.67.0)
[x] CURLOPT_ALTSVC_CTRL (libcurl >= 7.64.1)
[x] CURLOPT_ALTSVC (libcurl >= 7.64.1)
[x] CURLOPT_AWS_SIGV4 (libcurl >= 7.75.0) (#1911)
[x] CURLOPT_CAINFO_BLOB (libcurl >= 7.77.0) (#1911)
[x] CURLOPT_DOH_SSL_VERIFYHOST (libcurl >= 7.76.0) (#1911)
[x] CURLOPT_DOH_SSL_VERIFYPEER (libcurl >= 7.76.0) (#1911)
[x] CURLOPT_DOH_SSL_VERIFYSTATUS (libcurl >= 7.76.0) (#1911)
[x] CURLOPT_HSTS_CTRL (libcurl >= 7.74.0) (#1911)
[x] CURLOPT_HSTS (libcurl >= 7.74.0) (#1911)
[x] CURLOPT_MAIL_RCPT_ALLLOWFAILS (libcurl >= 7.69.0) (#1911)
[x] CURLOPT_MAXAGE_CONN (libcurl >= 7.65.0) (#1911)
[x] CURLOPT_MAXFILESIZE_LARGE (#1911)
[x] CURLOPT_MAXLIFETIME_CONN (libcurl >= 7.80.0) (#1911)
[x] CURLOPT_PROXY_CAINFO_BLOB (libcurl >= 7.77.0) (#1911)
[x] CURLOPT_SASL_AUTHZID (libcurl >= 7.66.0) (#1911)
[x] CURLOPT_SSH_HOST_PUBLIC_KEY_SHA256 (libcurl >= 7.80.0) (#1911)
[x] CURLOPT_SSL_EC_CURVES (libcurl >= 7.73.0) (#1911)
[x] CURLOPT_UPKEEP_INTERVAL_MS (libcurl >= 7.62.0) (#1911)
[x] CURLOPT_UPLOAD_BUFFERSIZE (libcurl >= 7.62.0) (#1911)
[x] CURLOPT_XFERINFOFUNCTION (libcurl >= 7.32.0) (#1540)
[x] CURLPROTO_MQTT (libcurl >= 7.71.0)
[x] CURLPX_BAD_ADDRESS_TYPE (libcurl >= 7.73.0)
[x] CURLPX_BAD_VERSION (libcurl >= 7.73.0)
[x] CURLPX_CLOSED (libcurl >= 7.73.0)
[x] CURLPX_GSSAPI (libcurl >= 7.73.0)
[x] CURLPX_GSSAPI_PERMSG (libcurl >= 7.73.0)
[x] CURLPX_GSSAPI_PROTECTION (libcurl >= 7.73.0)
[x] CURLPX_IDENTD_DIFFER (libcurl >= 7.73.0)
[x] CURLPX_IDENTD (libcurl >= 7.73.0)
[x] CURLPX_LONG_HOSTNAME (libcurl >= 7.73.0)
[x] CURLPX_LONG_PASSWD (libcurl >= 7.73.0)
[x] CURLPX_LONG_USER (libcurl >= 7.73.0)
[x] CURLPX_NO_AUTH (libcurl >= 7.73.0)
[x] CURLPX_OK (libcurl >= 7.73.0)
[x] CURLPX_RECV_ADDRESS (libcurl >= 7.73.0)
[x] CURLPX_RECV_AUTH (libcurl >= 7.73.0)
[x] CURLPX_RECV_CONNECT (libcurl >= 7.73.0)
[x] CURLPX_RECV_REQACK (libcurl >= 7.73.0)
[x] CURLPX_REPLY_ADDRESS_TYPE_NOT_SUPPORTED (libcurl >= 7.73.0)
[x] CURLPX_REPLY_COMMAND_NOT_SUPPORTED (libcurl >= 7.73.0)
[x] CURLPX_REPLY_CONNECTION_REFUSED (libcurl >= 7.73.0)
[x] CURLPX_REPLY_GENERAL_SERVER_FAILURE (libcurl >= 7.73.0)
[x] CURLPX_REPLY_HOST_UNREACHABLE (libcurl >= 7.73.0)
[x] CURLPX_REPLY_NETWORK_UNREACHABLE (libcurl >= 7.73.0)
[x] CURLPX_REPLY_NOT_ALLOWED (libcurl >= 7.73.0)
[x] CURLPX_REPLY_TTL_EXPIRED (libcurl >= 7.73.0)
[x] CURLPX_REPLY_UNASSIGNED (libcurl >= 7.73.0)
[x] CURLPX_REQUEST_FAILED (libcurl >= 7.73.0)
[x] CURLPX_RESOLVE_HOST (libcurl >= 7.73.0)
[x] CURLPX_SEND_AUTH (libcurl >= 7.73.0)
[x] CURLPX_SEND_CONNECT (libcurl >= 7.73.0)
[x] CURLPX_SEND_REQUEST (libcurl >= 7.73.0)
[x] CURLPX_UNKNOWN_FAIL (libcurl >= 7.73.0)
[x] CURLPX_UNKNOWN_MODE (libcurl >= 7.73.0)
[x] CURLPX_USER_REJECTED (libcurl >= 7.73.0)
[x] CURLSSLOPT_AUTO_CLIENT_CERT (libcurl >= 7.77.0)
[x] CURLSSLOPT_NATIVE_CA (libcurl >= 7.71.0)
[x] CURLSSLOPT_NO_PARTIALCHAIN (libcurl >= 7.68.0)
[x] CURLSSLOPT_REVOKE_BEST_EFFORT (libcurl >= 7.70.0)
[x] CURL_VERSION_GSASL (libcurl >= 7.76.0) (#1911)
[x] CURL_VERSION_HSTS (libcurl >= 7.74.0) (#1911)
[x] CURL_VERSION_HTTP3 (libcurl >= 7.66.0) (#1911)
[x] CURL_VERSION_UNICODE (libcurl >= 7.72.0) (#1911)
[x] CURL_VERSION_ZSTD (libcurl >= 7.72.0) (#1911)
[x] DBA:
[x] DBA_LMDB_USE_SUB_DIR (#1818)
[x] DBA_LMDB_NO_SUB_DIR (#1818)
[x] Filter:
[x] FILTER_FLAG_GLOBAL_RANGE (#1811)
[x] Sockets:
[x] SO_INCOMING_CPU (#1609)
[x] SO_MEMINFO (#1609)
[x] SO_RTABLE (OpenBSD) (#1609)
[x] TCP_KEEPALIVE (MacOS) (#1609)
[x] TCP_KEEPCNT (Linux, others) (#1609)
[x] TCP_KEEPIDLE (Linux, others) (#1609)
[x] TCP_KEEPINTVL (Linux, others) (#1609)
[x] TCP_NOTSENT_LOWAT (#1609)
[x] LOCAL_CREDS_PERSISTENT (FreeBSD) (#1856)
[x] SCM_CREDS2 (FreeBSD) (#1609)
[x] LOCAL_CREDS (NetBSD) (#1856)
[x] SO_BPF_EXTENSIONS (#1609)
[x] SO_SETFIB (#1609)
[x] TCP_CONGESTION (Linux, FreeBSD) (#1609)
[x] SO_ZEROCOPY (Linux) (#1609)
[x] MSG_ZEROCOPY (Linux) (#1609)
Other changes (W.I.P)
/n (NO_AUTO_CAPTURE)
new options (#2598)