3v4l.org

run code in 300+ PHP versions simultaneously
<?php $file=file_get_contents("http://9gag.com/"); $jsonp_string = preg_replace("/[^(]*\((.*)\)/", "$1", $file); $json = json_decode($jsonp_string, true); echo $json['count'];
Output for git.master, git.master_jit
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for 9gag.com failed: System error in /in/o0cMX on line 2 Warning: file_get_contents(http://9gag.com/): Failed to open stream: php_network_getaddresses: getaddrinfo for 9gag.com failed: System error in /in/o0cMX on line 2 Warning: Trying to access array offset on value of type null in /in/o0cMX on line 5
Output for rfc.property-hooks
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for 9gag.com failed: System error in /in/o0cMX on line 2 Warning: file_get_contents(http://9gag.com/): Failed to open stream: php_network_getaddresses: getaddrinfo for 9gag.com failed: System error in /in/o0cMX on line 2 Warning: Trying to access array offset on null in /in/o0cMX on line 5

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:
56.43 ms | 401 KiB | 8 Q