--TEST--
Dom\Node::appendChild() with fragment of multiple elements
--EXTENSIONS--
dom
--FILE--
createDocumentFragment();
$fragment->appendChild($dom->createElement('foo'));
$fragment->appendChild($dom->createElement('bar'));
try {
$dom->appendChild($fragment);
} catch (DOMException $e) {
echo $e->getMessage(), "\n";
}
echo $dom->saveXml($fragment), "\n";
?>
--EXPECT--
Cannot have more than one element child in a document