--TEST--
Bug #38850 (lookupNamespaceURI does not return default namespace)
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
$xml = <<<HERE
<?xml version="1.0" ?>
<foo xmlns="http://www.example.com/ns/foo" />
HERE;

$doc = new DOMDocument();
$doc->loadXML($xml);

$root = $doc->documentElement;

print $root->lookupNamespaceURI(NULL);


?>
--EXPECT--
http://www.example.com/ns/foo
