3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = <<<XML <document> <0>Something</0> </document> XML; libxml_use_internal_errors(true); $xml = simplexml_load_string($string); var_dump($xml, $xml->{0});
Output for git.master, git.master_jit
Warning: Attempt to read property "0" on bool in /in/YnQXP on line 13 bool(false) NULL
Output for rfc.property-hooks
Warning: Attempt to read property "0" on false in /in/YnQXP on line 13 bool(false) NULL

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:
45.96 ms | 401 KiB | 8 Q