Skip to content

Commit

Permalink
UPGRADING and UPGRADING.INTERNALS for SVG and extensible image API
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsdos committed Nov 3, 2024
1 parent f399c33 commit e4c2545
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions UPGRADING
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ PHP 8.5 UPGRADE NOTES
- DOM:
. Added Dom\Element::$outerHTML.

- Standard:
. getimagesize() now supports SVG images when ext-libxml is also loaded.
Similarly, image_type_to_extension() and image_type_to_extension()
now also handle IMAGETYPE_SVG.

- XSL:
. The $namespace argument of XSLTProcessor::getParameter(),
XSLTProcessor::setParameter() and XSLTProcessor::removeParameter()
Expand Down Expand Up @@ -120,6 +125,9 @@ PHP 8.5 UPGRADE NOTES
- POSIX:
. POSIX_SC_OPEN_MAX.

- Standard:
. IMAGETYPE_SVG when libxml is loaded.

========================================
11. Changes to INI File Handling
========================================
Expand Down
6 changes: 6 additions & 0 deletions UPGRADING.INTERNALS
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ PHP 8.5 INTERNALS UPGRADE NOTES
3. Module changes
========================

- Standard:
. The functionality of getimagesize(), image_type_to_mime_type(),
and image_type_to_extension() is now extensible using the internal APIs
php_image_register_handler() and php_image_unregister_handler() in
php_image.h.

========================
4. OpCode changes
========================
Expand Down

0 comments on commit e4c2545

Please sign in to comment.