3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = $_GET['url']; header('Content-Type: application/json'); $JSON = file_get_contents($url); // echo the JSON (you can echo this to JavaScript to use it there) echo json_encode($JSON); ?>
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined array key "url" in /in/vCH8c on line 2 Warning: Cannot modify header information - headers already sent by (output started at /in/vCH8c:2) in /in/vCH8c on line 3 Deprecated: file_get_contents(): Passing null to parameter #1 ($filename) of type string is deprecated in /in/vCH8c on line 4 Fatal error: Uncaught ValueError: Path cannot be empty in /in/vCH8c:4 Stack trace: #0 /in/vCH8c(4): file_get_contents('') #1 {main} thrown in /in/vCH8c on line 4
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:
38.4 ms | 402 KiB | 8 Q