3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json_url = "http://ben.s3root.net/tutorials/JavaScript/alfred_merged.json"; $json = file_get_contents($json_url); // Convert JSON string to Array $data = json_decode($json, true); // print_r($data); echo $data[0]["addresses"];
Output for git.master, git.master_jit
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for ben.s3root.net failed: System error in /in/jvhP6 on line 3 Warning: file_get_contents(http://ben.s3root.net/tutorials/JavaScript/alfred_merged.json): Failed to open stream: php_network_getaddresses: getaddrinfo for ben.s3root.net failed: System error in /in/jvhP6 on line 3 Warning: Trying to access array offset on value of type null in /in/jvhP6 on line 8 Warning: Trying to access array offset on value of type null in /in/jvhP6 on line 8
Output for rfc.property-hooks
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for ben.s3root.net failed: System error in /in/jvhP6 on line 3 Warning: file_get_contents(http://ben.s3root.net/tutorials/JavaScript/alfred_merged.json): Failed to open stream: php_network_getaddresses: getaddrinfo for ben.s3root.net failed: System error in /in/jvhP6 on line 3 Warning: Trying to access array offset on null in /in/jvhP6 on line 8 Warning: Trying to access array offset on null in /in/jvhP6 on line 8

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:
54.9 ms | 402 KiB | 8 Q