3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json_url = "http://map.freifunk-3laendereck.net/data/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 map.freifunk-3laendereck.net failed: System error in /in/crq8b on line 3 Warning: file_get_contents(http://map.freifunk-3laendereck.net/data/alfred_merged.json): Failed to open stream: php_network_getaddresses: getaddrinfo for map.freifunk-3laendereck.net failed: System error in /in/crq8b on line 3 Warning: Trying to access array offset on value of type null in /in/crq8b on line 8 Warning: Trying to access array offset on value of type null in /in/crq8b on line 8
Output for rfc.property-hooks
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for map.freifunk-3laendereck.net failed: System error in /in/crq8b on line 3 Warning: file_get_contents(http://map.freifunk-3laendereck.net/data/alfred_merged.json): Failed to open stream: php_network_getaddresses: getaddrinfo for map.freifunk-3laendereck.net failed: System error in /in/crq8b on line 3 Warning: Trying to access array offset on null in /in/crq8b on line 8 Warning: Trying to access array offset on null in /in/crq8b 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:
59.06 ms | 402 KiB | 8 Q