3v4l.org

run code in 300+ PHP versions simultaneously
<?php $path = 'http://i.imgur.com/kJYTZjx.gif'; echo file_exists($path) ? 'yep' : 'nope'; echo "\n"; echo file_get_contents($path) ? 'yep' : 'nope';
Output for git.master, git.master_jit, rfc.property-hooks
nope Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for i.imgur.com failed: System error in /in/BJsuV on line 7 Warning: file_get_contents(http://i.imgur.com/kJYTZjx.gif): Failed to open stream: php_network_getaddresses: getaddrinfo for i.imgur.com failed: System error in /in/BJsuV on line 7 nope

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