3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url="http://fbclaurel.onthecity.org/plaza/events?format=json"; $data = file_get_contents($url); $json = json_decode($data); //echo '<pre>'; //print_r( $json[0]->global_event); array_walk_recursive($json[0]->global_event, function ($v,$k){ echo 'KEY :'.$v.' & Value :'.$k.'<br>'; });
Output for git.master, git.master_jit, rfc.property-hooks
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for fbclaurel.onthecity.org failed: System error in /in/8lJlW on line 5 Warning: file_get_contents(http://fbclaurel.onthecity.org/plaza/events?format=json): Failed to open stream: php_network_getaddresses: getaddrinfo for fbclaurel.onthecity.org failed: System error in /in/8lJlW on line 5 Fatal error: Uncaught Error: Attempt to modify property "global_event" on null in /in/8lJlW:11 Stack trace: #0 {main} thrown in /in/8lJlW on line 11
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:
33.3 ms | 402 KiB | 8 Q