Skip to content

Commit d36682e

Browse files
committed
UPGRADING
1 parent 41dc0ba commit d36682e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

UPGRADING

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,17 @@ PHP 8.4 UPGRADE NOTES
4545
for invalid modes. Previously invalid modes would have been interpreted as
4646
PHP_ROUND_HALF_UP.
4747

48+
- XML:
49+
. The xml_set_*_handler() functions now declare and check for an effective
50+
signature of callable|string|null for the $handler parameters.
51+
Moreover, values of type string that correspond to method names,
52+
of object set with xml_set_object() are now checked to see if the method
53+
exists on the class of the previously passed object.
54+
This means that xml_set_object() must now always be called prior to setting
55+
method names as callables.
56+
Passing an empty string to disable the handler is still allowed,
57+
but not recommended.
58+
4859
- XSL:
4960
. XSLTProcessor::setParameter() will now throw a ValueError when its arguments
5061
contain null bytes. This never actually worked correctly in the first place,

0 commit comments

Comments
 (0)