Skip to content

Commit 69e135f

Browse files
committed
UPGRADING and UPGRADING.INTERNALS for SVG and extensible image API
1 parent c972e53 commit 69e135f

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

UPGRADING

+8
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ PHP 8.5 UPGRADE NOTES
4040
- DOM:
4141
. Added Dom\Element::$outerHTML.
4242

43+
- Standard:
44+
. getimagesize() now supports SVG images when ext-libxml is also loaded.
45+
Similarly, image_type_to_extension() and image_type_to_extension()
46+
now also handle IMAGETYPE_SVG.
47+
4348
- XSL:
4449
. The $namespace argument of XSLTProcessor::getParameter(),
4550
XSLTProcessor::setParameter() and XSLTProcessor::removeParameter()
@@ -112,6 +117,9 @@ PHP 8.5 UPGRADE NOTES
112117
10. New Global Constants
113118
========================================
114119

120+
- Standard:
121+
. IMAGETYPE_SVG when libxml is loaded.
122+
115123
========================================
116124
11. Changes to INI File Handling
117125
========================================

UPGRADING.INTERNALS

+6
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ PHP 8.5 INTERNALS UPGRADE NOTES
2222
3. Module changes
2323
========================
2424

25+
- Standard:
26+
. The functionality of getimagesize(), image_type_to_mime_type(),
27+
and image_type_to_extension() is now extensible using the internal APIs
28+
php_image_register_handler() and php_image_unregister_handler() in
29+
php_image.h.
30+
2531
========================
2632
4. OpCode changes
2733
========================

0 commit comments

Comments
 (0)