mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
The original caching implementation had an oversight in combination with the new lifetime management in DOM for 8.3. The modification counter is stored on the document object itself, but as that can get deallocated when all references disappear, stale cache data can be used. Normally this isn't a problem, unless getElementsByTagName is called not on the document but on a child node. Fix it by moving caching data into the ref object, which will outlive all nodes from a document even if the document object disappears. Closes GH-12338.
34 lines
1.2 KiB
Plaintext
34 lines
1.2 KiB
Plaintext
PHP NEWS
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
?? ??? ????, PHP 8.4.0alpha1
|
|
|
|
Core:
|
|
. Added zend_call_stack_get implementation for NetBSD. (David Carlier)
|
|
|
|
DOM:
|
|
. Added DOMNode::compareDocumentPosition(). (nielsdos)
|
|
. Implement #53655 (Improve speed of DOMNode::C14N() on large XML documents).
|
|
(nielsdos)
|
|
|
|
Intl:
|
|
. Added IntlDateFormatter::PATTERN constant. (David Carlier)
|
|
|
|
SimpleXML:
|
|
. Fixed bug GH-12192 (SimpleXML infinite loop when getName() is called
|
|
within foreach). (nielsdos)
|
|
. Fixed bug GH-12208 (SimpleXML infinite loop when a cast is used inside a
|
|
foreach). (nielsdos)
|
|
. Fixed bug #55098 (SimpleXML iteration produces infinite loop). (nielsdos)
|
|
|
|
Standard:
|
|
. Implement GH-12188 (Indication for the int size in phpinfo()). (timwolla)
|
|
. Partly fix GH-12143 (Incorrect round() result for 0.49999999999999994).
|
|
(timwolla)
|
|
. Fix GH-12252 (round(): Validate the rounding mode). (timwolla)
|
|
|
|
XSL:
|
|
. Implement request #64137 (XSLTProcessor::setParameter() should allow both
|
|
quotes to be used). (nielsdos)
|
|
|
|
<<< NOTE: Insert NEWS from last stable release here prior to actual release! >>>
|