PHP 8.2 introduces a bug where DOMElement::prepend does not retain same object reference
g105b opened this issue · 0 comments
g105b commented
Our own PHP.Gt implementation of the prepend function was removed thanks to libxml introducing the function, but since PHP 8.2 it fails to keep the same object references!
Easy fix: revert to our old implementation.
But why would this sort of bug get introduced upstream?