3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $xml = simplexml_load_string("<parent><child>The child.</child></parent>"); foreach(get_class_methods($xml) as $method) { echo $method; } echo "Hello world!" ?>
based on 7XWAk
Output for 5.5.0 - 7.3.0rc4
__constructasXMLsaveXMLxpathregisterXPathNamespaceattributeschildrengetNamespacesgetDocNamespacesgetNameaddChildaddAttribute__toStringcountHello world!