3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php dom = new DOMDocument; $dom->appendChild($dom->createElement('foo')); echo $dom->saveXml($dom, LIBXML_NOEMPTYTAG);
Output for 5.3.0 - 5.4.23
Parse error: syntax error, unexpected '=' in /in/EAUGt on line 2
Process exited with code 255.