3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $xml = new DOMDocument("1.0", "UF-8"); $xml->appendChild($xml->createElement("testnode type='HOT'"); echo "<xmp>" . $xml->saveXML() . "</xmp>";
Output for 5.3.0 - 5.5.3
Parse error: syntax error, unexpected ';' in /in/e2EqI on line 4
Process exited with code 255.