3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $xml = new DOMDocument(); $xml->loadXml('<balise><ata>2013-08-20T17:13:25</ata><atd>2013-08-20T17:15:03</atd><callSequence>1</callSequence><actualCallSequence>2</actualCallSequence><clauseInfo><clause>LIV_CFM</clause><description>Conforme</description></clauseInfo></balise>'); foreach ($xml->documentElement->childNodes as $childnode) { echo get_class($childnode) . "\n"; } ?>
based on 61V1C
Output for 5.0.0 - 7.2.0
DOMElement DOMElement DOMElement DOMElement DOMElement
Output for 4.3.2 - 4.4.9
Fatal error: Cannot instantiate non-existent class: domdocument in /in/YsTE8 on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Cannot instantiate non-existent class: domdocument in /in/YsTE8 on line 3