3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = 'https://gist.github.com/anonymous/dfe6b2348bde82fd50f1/raw/f0c17711eb0336f5199f2ef01e875b1806f04e3b/urunler.xml'; $xml = simplexml_load_file($xml); foreach ($xml->xpath("//urun/ozellik[@tanim='Kategori']") as $ozellik) { echo $ozellik."<br>"; }
Output for git.master, git.master_jit
Warning: simplexml_load_file(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/2jfhV on line 4 Warning: simplexml_load_file(): I/O warning : failed to load external entity "https://gist.github.com/anonymous/dfe6b2348bde82fd50f1/raw/f0c17711eb0336f5199f2ef01e875b1806f04e3b/urunler.xml" in /in/2jfhV on line 4 Fatal error: Uncaught Error: Call to a member function xpath() on bool in /in/2jfhV:6 Stack trace: #0 {main} thrown in /in/2jfhV on line 6
Process exited with code 255.
Output for rfc.property-hooks
Warning: simplexml_load_file(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/2jfhV on line 4 Warning: simplexml_load_file(): I/O warning : failed to load external entity "https://gist.github.com/anonymous/dfe6b2348bde82fd50f1/raw/f0c17711eb0336f5199f2ef01e875b1806f04e3b/urunler.xml" in /in/2jfhV on line 4 Fatal error: Uncaught Error: Call to a member function xpath() on false in /in/2jfhV:6 Stack trace: #0 {main} thrown in /in/2jfhV on line 6
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:
48.61 ms | 401 KiB | 8 Q