3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $xml = "<?xml version='1.0' encoding='utf-8'?><document><merchant><merchantID>33abc947-f7d5-45f7-9b99-6825b72b74db</merchantID></merchant> <transaction><merchantTransactionID>123456</merchantTransactionID><method>boleto</method><customerName>João Silva</customerName><CPF>36874950860</CPF><currency>BRL</currency><value>10000</value></transaction></document>"; $ler = simplexml_load_string($xml); echo 'teste<br>'; echo $ler->merchantID; ?>
Output for 5.0.0 - 7.1.0
teste<br>
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: simplexml_load_string() in /in/XGL6W on line 6
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: simplexml_load_string() in /in/XGL6W on line 6
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: simplexml_load_string() in /in/XGL6W on line 6