File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -245,6 +245,11 @@ PHP 8.5 UPGRADE NOTES
245245 and the function returns false. Previously, these errors were silently
246246 ignored. This change affects only the sendmail transport.
247247
248+ - Standard:
249+ . getimagesize() now supports SVG images when ext-libxml is also loaded.
250+ Similarly, image_type_to_extension() and image_type_to_extension()
251+ now also handle IMAGETYPE_SVG.
252+
248253- XSL:
249254 . The $namespace argument of XSLTProcessor::getParameter(),
250255 XSLTProcessor::setParameter() and XSLTProcessor::removeParameter()
@@ -565,6 +570,9 @@ PHP 8.5 UPGRADE NOTES
565570 . T_VOID_CAST.
566571 . T_PIPE.
567572
573+ - Standard:
574+ . IMAGETYPE_SVG when libxml is loaded.
575+
568576========================================
56957711. Changes to INI File Handling
570578========================================
Original file line number Diff line number Diff line change @@ -134,6 +134,10 @@ PHP 8.5 INTERNALS UPGRADE NOTES
134134 . The php_std_date() function has been removed. Use php_format_date() with
135135 the "D, d M Y H:i:s \\G\\M\\T" format instead.
136136 . Added php_url_encode_to_smart_str() to encode a URL to a smart_str buffer.
137+ . The functionality of getimagesize(), image_type_to_mime_type(),
138+ and image_type_to_extension() is now extensible using the internal APIs
139+ php_image_register_handler() and php_image_unregister_handler() in
140+ php_image.h.
137141
138142========================
1391434. OpCode changes
You can’t perform that action at this time.
0 commit comments