3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://www.example.com/'; if (!$fp = fopen($url, 'r')) { trigger_error("Unable to open URL ($url)", E_USER_ERROR); } $meta = stream_get_meta_data($fp); print_r($meta); fclose($fp); ?>
Output for git.master, git.master_jit, rfc.property-hooks
Warning: fopen(): php_network_getaddresses: getaddrinfo for www.example.com failed: System error in /in/k9jHJ on line 4 Warning: fopen(http://www.example.com/): Failed to open stream: php_network_getaddresses: getaddrinfo for www.example.com failed: System error in /in/k9jHJ on line 4 Fatal error: Unable to open URL (http://www.example.com/) in /in/k9jHJ 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:
40.13 ms | 401 KiB | 8 Q