--TEST--
DOMNode::after()
--EXTENSIONS--
dom
--FILE--
loadXML('firstsecond');
$element = $dom->documentElement->firstElementChild;
$secondMark = $dom->documentElement->lastElementChild;
$element->after(
'text inserted after',
$dom->createElement('inserted-after', 'content')
);
$secondMark->after('text inserted after second');
print_node_list_compact($dom->documentElement->childNodes);
?>
--EXPECT--
first
text inserted after
content
second
text inserted after second