3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $doc = DOMDocument::loadXML('<node>old content</node>'); $node = $doc->getElementsByTagName('node')->item(0); var_dump($node->localName);
Output for 7.0.0 - 7.2.0
Deprecated: Non-static method DOMDocument::loadXML() should not be called statically in /in/LHudT on line 3 string(4) "node"
Output for 5.3.18 - 5.6.28
Strict Standards: Non-static method DOMDocument::loadXML() should not be called statically in /in/LHudT on line 3 string(4) "node"