--- embedaddon/php/ext/dom/tests/bug54601.phpt 2012/02/21 23:47:54 1.1.1.1 +++ embedaddon/php/ext/dom/tests/bug54601.phpt 2012/05/29 12:34:37 1.1.1.2 @@ -17,14 +17,13 @@ $doc = new DOMDocument(); $doc->loadXML($xml, LIBXML_NOENT); $n = $doc->doctype; $doc->removeChild($n); -var_dump($n); +echo get_class($n), "\n"; print $doc->saveXML(); ?> ===DONE=== --EXPECTF-- -object(DOMDocumentType)#%d (0) { -} +DOMDocumentType footextbartext ===DONE===