--TEST--
GH-11404 (DOMDocument::savexml and friends omit xmlns="" declaration for null namespace, creating incorrect xml representation of the DOM)
--EXTENSIONS--
dom
--FILE--
');
$nodeA = $dom1->createElement('none');
$nodeB = $dom1->createElementNS(null, 'none');
$dom1->documentElement->appendChild($nodeA);
$dom1->documentElement->appendChild($nodeB);
echo $dom1->saveXml(), "\n";
var_dump($nodeA->namespaceURI, $nodeB->namespaceURI);
?>
--EXPECT--
NULL
NULL