3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $xml="<root><nodel>content</nodel></root>"; $sxe=new simpleXMLElement($xml); print $sxe->asXML();
Output for 5.2.15 - 7.1.10
<?xml version="1.0"?> <root><nodel>content</nodel></root>