3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(simplexml_load_string('<root> <text name="123" value="123"/> <fql name=""> </fql> <dataset> <group> <control-group id="0 - dD" name=""> <control id="1 - Name"/> </control-group> </group> </dataset> </root>'));
Output for git.master, git.master_jit, rfc.property-hooks
object(SimpleXMLElement)#1 (3) { ["text"]=> object(SimpleXMLElement)#2 (1) { ["@attributes"]=> array(2) { ["name"]=> string(3) "123" ["value"]=> string(3) "123" } } ["fql"]=> object(SimpleXMLElement)#3 (1) { ["@attributes"]=> array(1) { ["name"]=> string(0) "" } } ["dataset"]=> object(SimpleXMLElement)#4 (1) { ["group"]=> object(SimpleXMLElement)#5 (1) { ["control-group"]=> object(SimpleXMLElement)#6 (2) { ["@attributes"]=> array(2) { ["id"]=> string(6) "0 - dD" ["name"]=> string(0) "" } ["control"]=> object(SimpleXMLElement)#7 (1) { ["@attributes"]=> array(1) { ["id"]=> string(8) "1 - Name" } } } } } }

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
40.63 ms | 402 KiB | 8 Q