Skip to content

Commit de86b70

Browse files
committed
UPGRADING and UPGRADING.INTERNALS for SVG and extensible image API
1 parent ec8a095 commit de86b70

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
@@ -92,6 +92,11 @@ PHP 8.5 UPGRADE NOTES
9292
- DOM:
9393
. Added Dom\Element::$outerHTML.
9494

95+
- Standard:
96+
. getimagesize() now supports SVG images when ext-libxml is also loaded.
97+
Similarly, image_type_to_extension() and image_type_to_extension()
98+
now also handle IMAGETYPE_SVG.
99+
95100
- XSL:
96101
. The $namespace argument of XSLTProcessor::getParameter(),
97102
XSLTProcessor::setParameter() and XSLTProcessor::removeParameter()
@@ -261,6 +266,9 @@ PHP 8.5 UPGRADE NOTES
261266
. TCP_BBR_ALGORITHM (FreeBSD only).
262267
. AF_PACKET (Linux only).
263268

269+
- Standard:
270+
. IMAGETYPE_SVG when libxml is loaded.
271+
264272
========================================
265273
11. Changes to INI File Handling
266274
========================================

UPGRADING.INTERNALS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ PHP 8.5 INTERNALS UPGRADE NOTES
5353
is still valid. This is useful when a GC cycle is collected and the
5454
database object can be destroyed prior to destroying the statement.
5555

56+
- ext/standard:
57+
. The functionality of getimagesize(), image_type_to_mime_type(),
58+
and image_type_to_extension() is now extensible using the internal APIs
59+
php_image_register_handler() and php_image_unregister_handler() in
60+
php_image.h.
61+
5662
========================
5763
4. OpCode changes
5864
========================

0 commit comments

Comments
 (0)