3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://www.boligsiden.dk/viderestilling/992cff55882a40f79e64b0a25e847a69'; file_get_contents($url); preg_match('/(Location:|URI:)(.*?)\n/', implode("\n", $http_response_header), $matches); if (isset($matches[0])) { echo $matches[0]; }
Output for git.master, git.master_jit, rfc.property-hooks
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for www.boligsiden.dk failed: System error in /in/V9YRo on line 4 Warning: file_get_contents(http://www.boligsiden.dk/viderestilling/992cff55882a40f79e64b0a25e847a69): Failed to open stream: php_network_getaddresses: getaddrinfo for www.boligsiden.dk failed: System error in /in/V9YRo on line 4 Warning: Undefined variable $http_response_header in /in/V9YRo on line 5 Fatal error: Uncaught TypeError: implode(): Argument #1 ($pieces) must be of type array, string given in /in/V9YRo:5 Stack trace: #0 /in/V9YRo(5): implode('\n', NULL) #1 {main} thrown in /in/V9YRo on line 5
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:
39.28 ms | 401 KiB | 8 Q