3v4l.org

run code in 300+ PHP versions simultaneously
<?php $destination = 'http://badurl/'; $params = array(); $url = $destination . '?' . http_build_query($params); $response = file_get_contents($url); if($response === false) { $error = error_get_last(); error_log("!: {$error["message"]}"); }
Output for git.master_jit, git.master, rfc.property-hooks
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for badurl failed: System error in /in/pLhXn on line 7 Warning: file_get_contents(http://badurl/?): Failed to open stream: php_network_getaddresses: getaddrinfo for badurl failed: System error in /in/pLhXn on line 7 !: file_get_contents(http://badurl/?): Failed to open stream: php_network_getaddresses: getaddrinfo for badurl failed: System error

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