3v4l.org

run code in 300+ PHP versions simultaneously
<?php header('Content-type: application/xml'); echo file_get_contents('http://cloud.tfl.gov.uk/TrackerNet/PredictionSummary/V'); $xml = simplexml_load_file('http://cloud.tfl.gov.uk/TrackerNet/PredictionSummary/V'); //retrieve URL and parse XML content echo $xml->getName(); // output name of root element
Output for git.master, git.master_jit
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for cloud.tfl.gov.uk failed: System error in /in/lcTHc on line 3 Warning: file_get_contents(http://cloud.tfl.gov.uk/TrackerNet/PredictionSummary/V): Failed to open stream: php_network_getaddresses: getaddrinfo for cloud.tfl.gov.uk failed: System error in /in/lcTHc on line 3 Warning: simplexml_load_file(): php_network_getaddresses: getaddrinfo for cloud.tfl.gov.uk failed: No address associated with hostname in /in/lcTHc on line 4 Warning: simplexml_load_file(http://cloud.tfl.gov.uk/TrackerNet/PredictionSummary/V): Failed to open stream: php_network_getaddresses: getaddrinfo for cloud.tfl.gov.uk failed: No address associated with hostname in /in/lcTHc on line 4 Warning: simplexml_load_file(): I/O warning : failed to load external entity "http://cloud.tfl.gov.uk/TrackerNet/PredictionSummary/V" in /in/lcTHc on line 4 Fatal error: Uncaught Error: Call to a member function getName() on bool in /in/lcTHc:5 Stack trace: #0 {main} thrown in /in/lcTHc on line 5
Process exited with code 255.
Output for rfc.property-hooks
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for cloud.tfl.gov.uk failed: System error in /in/lcTHc on line 3 Warning: file_get_contents(http://cloud.tfl.gov.uk/TrackerNet/PredictionSummary/V): Failed to open stream: php_network_getaddresses: getaddrinfo for cloud.tfl.gov.uk failed: System error in /in/lcTHc on line 3 Warning: simplexml_load_file(): php_network_getaddresses: getaddrinfo for cloud.tfl.gov.uk failed: No address associated with hostname in /in/lcTHc on line 4 Warning: simplexml_load_file(http://cloud.tfl.gov.uk/TrackerNet/PredictionSummary/V): Failed to open stream: php_network_getaddresses: getaddrinfo for cloud.tfl.gov.uk failed: No address associated with hostname in /in/lcTHc on line 4 Warning: simplexml_load_file(): I/O warning : failed to load external entity "http://cloud.tfl.gov.uk/TrackerNet/PredictionSummary/V" in /in/lcTHc on line 4 Fatal error: Uncaught Error: Call to a member function getName() on false in /in/lcTHc:5 Stack trace: #0 {main} thrown in /in/lcTHc 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:
51.15 ms | 402 KiB | 8 Q