--TEST-- Bug #78025 (segfault when accessing properties of DOMDocumentType) --SKIPIF-- --FILE-- "; $dom = new DOMDocument; $dom->loadHTML($htm); var_dump($dom->doctype->name); ?> ===DONE=== --EXPECTF-- Warning: DOMDocument::loadHTML(): htmlParseDocTypeDecl : no DOCTYPE name ! in Entity, line: 1 in %s on line %d string(0) "" ===DONE===