--TEST--
DOMParentNode::append() with attributes
--SKIPIF--
--FILE--
loadXML('');
$replacement = $dom->createAttribute('attr-one');
$replacement->value ='42';
$addition = $dom->createAttribute('attr-two');
$addition->value = '23';
$element = $dom->documentElement;
try {
$element->append($replacement, $addition);
} catch (DOMException $e) {
echo $e->getMessage() . "\n";
}
echo $dom->saveXML();
?>
--EXPECT--
Hierarchy Request Error