3v4l.org

run code in 300+ PHP versions simultaneously
<?php $link = "http://boards.4chan.org/vg/catalog"; $linkcontents = file_get_contents($link); $lines = explode("\n", $linkcontents); $jsstart = explode("var catalog = ", $lines[10]); $jssend = explode(" var", $jsstart[1]); $json = $jssend[0]; var_dump($linkcontents); var_dump($lines); echo $jsstart[1]; echo $json;
Output for git.master, git.master_jit, rfc.property-hooks
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for boards.4chan.org failed: System error in /in/u17Bc on line 3 Warning: file_get_contents(http://boards.4chan.org/vg/catalog): Failed to open stream: php_network_getaddresses: getaddrinfo for boards.4chan.org failed: System error in /in/u17Bc on line 3 Warning: Undefined array key 10 in /in/u17Bc on line 5 Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /in/u17Bc on line 5 Warning: Undefined array key 1 in /in/u17Bc on line 6 Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /in/u17Bc on line 6 bool(false) array(1) { [0]=> string(0) "" } Warning: Undefined array key 1 in /in/u17Bc on line 10

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:
47.47 ms | 403 KiB | 8 Q