Skip to content

Commit cb08b06

Browse files
committed
NEWS/UPGRADING
1 parent 5d8b340 commit cb08b06

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

NEWS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ PHP NEWS
4848
. Implemented GH-15155 (Stream context is lost when custom stream wrapper is
4949
being filtered). (Quentin Dreyer)
5050

51+
- XML:
52+
. The xml_set_object() function has been deprecated. (Girgias)
53+
. Passing non-callable strings to the xml_set_*_handler() functions is now
54+
deprecated. (Girgias)
55+
5156
01 Aug 2024, PHP 8.4.0alpha4
5257

5358
- GMP:

UPGRADING

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ PHP 8.4 UPGRADE NOTES
189189
This means that xml_set_object() must now always be called prior to setting
190190
method names as callables.
191191
Passing an empty string to disable the handler is still allowed,
192-
but not recommended.
192+
but deprecated.
193193

194194
- XMLReader:
195195
. Passing an invalid character encoding to XMLReader::open() or
@@ -474,6 +474,13 @@ PHP 8.4 UPGRADE NOTES
474474
. Unserializing strings using the uppercase 'S' tag is deprecated.
475475
RFC: https://wiki.php.net/rfc/deprecations_php_8_4
476476

477+
- XML:
478+
. The xml_set_object() function has been deprecated.
479+
RFC: https://wiki.php.net/rfc/deprecations_php_8_4#xml_set_object_and_xml_set_handler_with_string_method_names
480+
. Passing non-callable strings to the xml_set_*_handler() functions is now
481+
deprecated.
482+
RFC: https://wiki.php.net/rfc/deprecations_php_8_4#xml_set_object_and_xml_set_handler_with_string_method_names
483+
477484
========================================
478485
5. Changed Functions
479486
========================================

0 commit comments

Comments
 (0)