3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = file_get_contents("http://www.scoresway.com/a/block_home_matches?sport=soccer&block_id=block_home_matches_c3b38e896b38bf61cfbc88a8e9ba7946&service_id=block.home_matches&callback_params={%22date%22%3a%222012-12-20%22,%22display%22%3a%22all%22,%22live_update%22%3afalse}&action=filterContent&params={%22display%22%3a%22now_playing%22}&localization_id=www");//replace with the url in the description $json_output = json_decode($json, TRUE); $val = $json_output["commands"][0]["content"]; echo $val;
Output for git.master, git.master_jit
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for www.scoresway.com failed: System error in /in/pXABe on line 2 Warning: file_get_contents(http://www.scoresway.com/a/block_home_matches?sport=soccer&block_id=block_home_matches_c3b38e896b38bf61cfbc88a8e9ba7946&service_id=block.home_matches&callback_params={%22date%22%3a%222012-12-20%22,%22display%22%3a%22all%22,%22live_update%22%3afalse}&action=filterContent&params={%22display%22%3a%22now_playing%22}&localization_id=www): Failed to open stream: php_network_getaddresses: getaddrinfo for www.scoresway.com failed: System error in /in/pXABe on line 2 Warning: Trying to access array offset on value of type null in /in/pXABe on line 4 Warning: Trying to access array offset on value of type null in /in/pXABe on line 4 Warning: Trying to access array offset on value of type null in /in/pXABe on line 4
Output for rfc.property-hooks
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for www.scoresway.com failed: System error in /in/pXABe on line 2 Warning: file_get_contents(http://www.scoresway.com/a/block_home_matches?sport=soccer&block_id=block_home_matches_c3b38e896b38bf61cfbc88a8e9ba7946&service_id=block.home_matches&callback_params={%22date%22%3a%222012-12-20%22,%22display%22%3a%22all%22,%22live_update%22%3afalse}&action=filterContent&params={%22display%22%3a%22now_playing%22}&localization_id=www): Failed to open stream: php_network_getaddresses: getaddrinfo for www.scoresway.com failed: System error in /in/pXABe on line 2 Warning: Trying to access array offset on null in /in/pXABe on line 4 Warning: Trying to access array offset on null in /in/pXABe on line 4 Warning: Trying to access array offset on null in /in/pXABe on line 4

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