3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tracking_no = "EM909320015MY"; $url = "http://www.17track.net/r/handlertrack.ashx?callback=callback&num=" . $tracking_no; $json_query = file_get_contents($url); $json = json_decode($json_query); foreach($json->{'dat'}->{'z1'} as $row) { echo $row->{"a"} . "<br>"; echo $row->{"c"} . "<br>"; echo $row->{"z"} . "<br><br><br>"; }
Output for git.master, git.master_jit, rfc.property-hooks
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for www.17track.net failed: System error in /in/7up4n on line 7 Warning: file_get_contents(http://www.17track.net/r/handlertrack.ashx?callback=callback&num=EM909320015MY): Failed to open stream: php_network_getaddresses: getaddrinfo for www.17track.net failed: System error in /in/7up4n on line 7 Warning: Attempt to read property "dat" on null in /in/7up4n on line 11 Warning: Attempt to read property "z1" on null in /in/7up4n on line 11 Warning: foreach() argument must be of type array|object, null given in /in/7up4n on line 11

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:
33.79 ms | 407 KiB | 5 Q