3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dom = new DOMDocument(); $dom->loadXml('<foo xmlns=urn:foo/>'); var_dump($dom->documentElement->lookupNamespaceURI(NULL));

preferences:
46.46 ms | 402 KiB | 5 Q