Skip to content

Commit 3c66a18

Browse files
committed
UPGRADING
1 parent 74629e0 commit 3c66a18

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
@@ -39,6 +39,17 @@ PHP 8.4 UPGRADE NOTES
3939
for invalid modes. Previously invalid modes would have been interpreted as
4040
PHP_ROUND_HALF_UP.
4141

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

0 commit comments

Comments
 (0)