@@ -188,6 +188,16 @@ PHP 8.5 UPGRADE NOTES
188188 first redirect thus if there is any follow up redirect, it won't go
189189 any further. CURLFOLLOW_ALL is equivalent to setting CURLOPT_FOLLOWLOCATION
190190 to true.
191+ . Added support for CURLINFO_CONN_ID (libcurl >= 8.2.0) to the curl_getinfo()
192+ function. This constant allows retrieving the unique ID of the connection
193+ used by a cURL transfer. It is primarily useful when connection reuse or
194+ connection pooling logic is needed in PHP-level applications. When
195+ curl_getinfo() returns an array, this value is available as the "conn_id" key.
196+ . Added support for CURLINFO_QUEUE_TIME_T (libcurl >= 8.6.0) to the curl_getinfo()
197+ function. This constant allows retrieving the time (in microseconds) that the
198+ request spent in libcurl’s connection queue before it was sent.
199+ This value can also be retrieved by passing CURLINFO_QUEUE_TIME_T to the
200+ curl_getinfo() $option parameter.
191201
192202- DOM:
193203 . Added Dom\Element::$outerHTML.
@@ -398,7 +408,8 @@ PHP 8.5 UPGRADE NOTES
398408 . get_exception_handler() allows retrieving the current user-defined exception
399409 handler function.
400410 RFC: https://wiki.php.net/rfc/get-error-exception-handler
401- . The clone language construct is now a function.
411+ . The clone language construct is now a function and supports reassigning
412+ (readonly) properties during cloning via the new $withProperties parameter.
402413 RFC: https://wiki.php.net/rfc/clone_with_v2
403414
404415- Curl:
@@ -425,6 +436,9 @@ PHP 8.5 UPGRADE NOTES
425436 . Added grapheme_levenshtein() function.
426437 RFC: https://wiki.php.net/rfc/grapheme_levenshtein
427438
439+ - Opcache:
440+ . Added opcache_is_script_cached_in_file_cache().
441+
428442- Pdo\Sqlite:
429443 . Added support for Pdo\Sqlite::setAuthorizer(), which is the equivalent of
430444 SQLite3::setAuthorizer(). The only interface difference is that the
@@ -460,6 +474,13 @@ PHP 8.5 UPGRADE NOTES
460474 across multiple PHP requests.
461475 RFC: https://wiki.php.net/rfc/curl_share_persistence_improvement
462476
477+ - URI:
478+ . Uri\UriException, Uri\InvalidUriException, Uri\UriComparisonMode,
479+ Uri\Rfc3986\Uri, Uri\WhatWg\InvalidUrlException,
480+ Uri\WhatWg\UrlValidationErrorType, Uri\WhatWg\UrlValidationError,
481+ and Uri\WhatWg\Url are added.
482+ RFC: https://wiki.php.net/rfc/url_parsing_api
483+
463484========================================
4644858. Removed Extensions and SAPIs
465486========================================
@@ -483,6 +504,11 @@ PHP 8.5 UPGRADE NOTES
483504 library that was separated from ext/dom for being reused among other
484505 extensions. The new extension is not directly exposed to userland.
485506
507+ - URI:
508+ . An always enabled uri extension is added that can be used for handling
509+ URIs and URLs according to RFC 3986 and WHATWG URL.
510+ RFC: https://wiki.php.net/rfc/url_parsing_api
511+
486512- PCRE:
487513 . Upgraded to pcre2lib from 10.44 to 10.45.
488514
@@ -505,6 +531,8 @@ PHP 8.5 UPGRADE NOTES
505531 . CURLINFO_USED_PROXY.
506532 . CURLINFO_HTTPAUTH_USED.
507533 . CURLINFO_PROXYAUTH_USED.
534+ . CURLINFO_CONN_ID.
535+ . CURLINFO_QUEUE_TIME_T.
508536 . CURLOPT_INFILESIZE_LARGE.
509537 . CURLFOLLOW_ALL.
510538 . CURLFOLLOW_OBEYCODE.
0 commit comments