[ci skip] UPGRADING fixes (#16893)

It seems at one point these were (partially) rewritten, changing their
meaning. This patch fixes this.
This commit is contained in:
Niels Dossche 2024-11-22 08:56:14 +01:00 committed by GitHub
parent da81b5c8d2
commit 9ee607823e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -127,12 +127,12 @@ PHP 8.4 UPGRADE NOTES
ValueErrors if it is not an array of class names.
. XMLReader:
. Passing an invalid character encoding to XMLReader::open() or
XMLReader::XML() now throws a ValueError.
. Passing a string containing null bytes previously emitted a
warning and now throws a ValueError as well.
XMLReader::XML() now throws a ValueError. Passing an encoding
containing null bytes previously emitted a warning and now throws
a ValueError as well.
. XMLWriter:
. Passing a string containing null bytes previously emitted a
warning and now throws a ValueError as well.
. Passing an encoding containing null bytes previously emitted a
warning and now throws a ValueError.
. XSL:
. XSLTProcessor::setParameter() will now throw a ValueError when its
arguments contain null bytes. This never actually worked correctly in