3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xmlfile = 'http://www.cvkeskus.ee/xml_jobads_32ed68871d29e86378e559e756f196620.xml'; $xml = simplexml_load_file($xmlfile); foreach ($xml->children() as $child) { echo $child->salary_till . "<br>"; echo $child->salary_currency . "<br>"; echo $child->job_profession . "<br>"; echo $child->url . "<br>"; echo "__________________<br>"; }
Output for git.master, git.master_jit
Warning: simplexml_load_file(): php_network_getaddresses: getaddrinfo for www.cvkeskus.ee failed: System error in /in/N3J5J on line 4 Warning: simplexml_load_file(http://www.cvkeskus.ee/xml_jobads_32ed68871d29e86378e559e756f196620.xml): Failed to open stream: php_network_getaddresses: getaddrinfo for www.cvkeskus.ee failed: System error in /in/N3J5J on line 4 Warning: simplexml_load_file(): I/O warning : failed to load external entity "http://www.cvkeskus.ee/xml_jobads_32ed68871d29e86378e559e756f196620.xml" in /in/N3J5J on line 4 Fatal error: Uncaught Error: Call to a member function children() on bool in /in/N3J5J:5 Stack trace: #0 {main} thrown in /in/N3J5J on line 5
Process exited with code 255.
Output for rfc.property-hooks
Warning: simplexml_load_file(): php_network_getaddresses: getaddrinfo for www.cvkeskus.ee failed: System error in /in/N3J5J on line 4 Warning: simplexml_load_file(http://www.cvkeskus.ee/xml_jobads_32ed68871d29e86378e559e756f196620.xml): Failed to open stream: php_network_getaddresses: getaddrinfo for www.cvkeskus.ee failed: System error in /in/N3J5J on line 4 Warning: simplexml_load_file(): I/O warning : failed to load external entity "http://www.cvkeskus.ee/xml_jobads_32ed68871d29e86378e559e756f196620.xml" in /in/N3J5J on line 4 Fatal error: Uncaught Error: Call to a member function children() on false in /in/N3J5J:5 Stack trace: #0 {main} thrown in /in/N3J5J on line 5
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:
50.89 ms | 401 KiB | 8 Q