3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string="<xml>a</xml>"; $xml = simplexml_load_string($string); print_r($xml);
based on qcZDb
Output for 5.3.19 - 7.2.0
SimpleXMLElement Object ( [0] => a )