Closed
Description
Description
The following code:
<?php
$dom = Dom\HTMLDocument::createFromString("<p>foo</p>", LIBXML_NOERROR);
$child = $dom->documentElement->appendChild($dom->createElement('html'));
$fusion = $child;
var_dump(reset($fusion));
Resulted in this output (JIT 1205):
/php-src/main/spprintf.c:376:14: runtime error: member access within null pointer of type 'zend_string' (aka 'struct _zend_string')
PHP Version
nightly
Operating System
ubuntu 22.04