Closed YuanchengJiang closed 1 month ago
Not sure if that's a SimpleXML issue, but tentatively marking as such.
Anyhow, PHP-8.3 is affected as well, and maybe older branches too.
Look like a null pointer is passed to xmlStrlen()
, so it seems more like a PHP issue.
/cc @nielsdos
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end." – Henry Spencer
I still assume that is an issue with SimpleXMLIterator
.
Maybe, I don't know anything about simplexml. :)
I'll have a look. It reproduces on 8.2 too.
Description
The following code:
Resulted in this output:
PHP Version
PHP 8.4.0-dev
Operating System
ubuntu 22.04