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 @@ -246,6 +246,11 @@ PHP 8.5 UPGRADE NOTES
246
246
ignored. This change affects only the sendmail transport.
247
247
. getimagesize() now supports HEIF/HEIC images.
248
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
+
249
254
- XSL:
250
255
. The $namespace argument of XSLTProcessor::getParameter(),
251
256
XSLTProcessor::setParameter() and XSLTProcessor::removeParameter()
@@ -566,6 +571,9 @@ PHP 8.5 UPGRADE NOTES
566
571
. T_VOID_CAST.
567
572
. T_PIPE.
568
573
574
+ - Standard:
575
+ . IMAGETYPE_SVG when libxml is loaded.
576
+
569
577
========================================
570
578
11. Changes to INI File Handling
571
579
========================================
Original file line number Diff line number Diff line change @@ -134,6 +134,10 @@ PHP 8.5 INTERNALS UPGRADE NOTES
134
134
. The php_std_date() function has been removed. Use php_format_date() with
135
135
the "D, d M Y H:i:s \\G\\M\\T" format instead.
136
136
. 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.
137
141
138
142
========================
139
143
4. OpCode changes
You can’t perform that action at this time.
0 commit comments