@@ -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.
@@ -234,6 +244,16 @@ PHP 8.5 UPGRADE NOTES
234244 process was terminated unexpectedly. In such cases, a warning is emitted
235245 and the function returns false. Previously, these errors were silently
236246 ignored. This change affects only the sendmail transport.
247+ . getimagesize() now supports HEIF/HEIC images.
248+
249+ - Standard:
250+ . getimagesize() now supports SVG images when ext-libxml is also loaded.
251+ Similarly, image_type_to_extension() and image_type_to_extension()
252+ now also handle IMAGETYPE_SVG.
253+ . The array returned by getimagesize() now has two additional entries:
254+ "width_unit" and "height_unit" to indicate in which units the dimensions
255+ are expressed. These units are px by default. They are not necessarily
256+ the same (just to give one example: one may be cm and the other may be px).
237257
238258- XSL:
239259 . The $namespace argument of XSLTProcessor::getParameter(),
@@ -398,7 +418,8 @@ PHP 8.5 UPGRADE NOTES
398418 . get_exception_handler() allows retrieving the current user-defined exception
399419 handler function.
400420 RFC: https://wiki.php.net/rfc/get-error-exception-handler
401- . The clone language construct is now a function.
421+ . The clone language construct is now a function and supports reassigning
422+ (readonly) properties during cloning via the new $withProperties parameter.
402423 RFC: https://wiki.php.net/rfc/clone_with_v2
403424
404425- Curl:
@@ -425,6 +446,9 @@ PHP 8.5 UPGRADE NOTES
425446 . Added grapheme_levenshtein() function.
426447 RFC: https://wiki.php.net/rfc/grapheme_levenshtein
427448
449+ - Opcache:
450+ . Added opcache_is_script_cached_in_file_cache().
451+
428452- Pdo\Sqlite:
429453 . Added support for Pdo\Sqlite::setAuthorizer(), which is the equivalent of
430454 SQLite3::setAuthorizer(). The only interface difference is that the
@@ -512,11 +536,14 @@ PHP 8.5 UPGRADE NOTES
512536
513537- Core:
514538 . PHP_BUILD_DATE.
539+ . PHP_BUILD_PROVIDER.
515540
516541- Curl:
517542 . CURLINFO_USED_PROXY.
518543 . CURLINFO_HTTPAUTH_USED.
519544 . CURLINFO_PROXYAUTH_USED.
545+ . CURLINFO_CONN_ID.
546+ . CURLINFO_QUEUE_TIME_T.
520547 . CURLOPT_INFILESIZE_LARGE.
521548 . CURLFOLLOW_ALL.
522549 . CURLFOLLOW_OBEYCODE.
@@ -549,6 +576,9 @@ PHP 8.5 UPGRADE NOTES
549576 . T_VOID_CAST.
550577 . T_PIPE.
551578
579+ - Standard:
580+ . IMAGETYPE_SVG when libxml is loaded.
581+
552582========================================
55358311. Changes to INI File Handling
554584========================================
0 commit comments