Skip to content

Commit e4c2545

Browse files
committed
UPGRADING and UPGRADING.INTERNALS for SVG and extensible image API
1 parent f399c33 commit e4c2545

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

UPGRADING

Lines changed: 8 additions & 0 deletions
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()
@@ -120,6 +125,9 @@ PHP 8.5 UPGRADE NOTES
120125
- POSIX:
121126
. POSIX_SC_OPEN_MAX.
122127

128+
- Standard:
129+
. IMAGETYPE_SVG when libxml is loaded.
130+
123131
========================================
124132
11. Changes to INI File Handling
125133
========================================

UPGRADING.INTERNALS

Lines changed: 6 additions & 0 deletions
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)