--TEST--
Dom\Element::insertAdjacentHTML() with XML nodes - errors
--EXTENSIONS--
dom
--FILE--
');
try {
$dom->documentElement->insertAdjacentHTML(Dom\AdjacentPosition::AfterBegin, "");
} catch (DOMException $e) {
echo $e->getMessage(), "\n";
}
?>
--EXPECT--
XML fragment is not well-formed