3v4l.org

run code in 300+ PHP versions simultaneously
<?php file_put_contents('/tmp/qwe.xml', '<xml></xml>'); $xml = new SimpleXMLElement('file://tmp/qwe.xml', 0, true);
Output for git.master_jit, git.master, rfc.property-hooks
Warning: SimpleXMLElement::__construct(): Remote host file access not supported, file://tmp/qwe.xml in /in/bGjhV on line 3 Warning: SimpleXMLElement::__construct(file://tmp/qwe.xml): Failed to open stream: no suitable wrapper could be found in /in/bGjhV on line 3 Warning: SimpleXMLElement::__construct(): I/O warning : failed to load external entity "file://tmp/qwe.xml" in /in/bGjhV on line 3 Fatal error: Uncaught Exception: String could not be parsed as XML in /in/bGjhV:3 Stack trace: #0 /in/bGjhV(3): SimpleXMLElement->__construct('file://tmp/qwe....', 0, true) #1 {main} thrown in /in/bGjhV on line 3
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:
42.23 ms | 401 KiB | 8 Q