3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $xml = simplexml_load_string('<a><![CDATA[OK]]></a>'); var_dump($xml); var_dump($xml['a']); var_dump($xml->a);
based on 416KY
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.0
object(SimpleXMLElement)#1 (0) { } NULL object(SimpleXMLElement)#2 (0) { }