### Description The following code: ```php <?php $dom = Dom\HTMLDocument::createFromString('<!DOCTYPE html><html></html>'); $dt1 = clone $dom->doctype; $fusion = $dt1; $fusion->prefix = $badStr; ``` Resulted in this output: ``` php: /home/phpfuzz/WorkSpace/flowfusion/php-src/ext/dom/php_dom.c:428: zval *dom_write_property(zend_object *, zend_string *, zval *, void **): Assertion `prop && (((prop->type).type_mask & ((1u << 25) - 1)) != 0)' failed. Aborted (core dumped) ``` ### PHP Version nightly ### Operating System _No response_
Activity
Fix phpGH-17397: Assertion failure ext/dom/php_dom.c
Fix GH-17397: Assertion failure ext/dom/php_dom.c
Merge branch 'PHP-8.4'