3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = <<<XML <a> <b> <c>text</c> <c>stuff</c> </b> <d> <c>code</c> </d> </a> XML; $xml = new SimpleXMLElement($string); unset($xml[0]); print_r($xml);
Output for git.master, git.master_jit, rfc.property-hooks
SimpleXMLElement Object ( ) Fatal error: Uncaught Error: SimpleXMLElement is not properly initialized in /in/bfDv2:16 Stack trace: #0 /in/bfDv2(16): print_r(Object(SimpleXMLElement)) #1 {main} thrown in /in/bfDv2 on line 16
Process exited with code 255.

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:
128.19 ms | 405 KiB | 5 Q