3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php file_get_contents('http://hello.com/index.html'); ?>
based on 7jaTZ
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.3.0rc3
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: System error in /in/mYO4l on line 3 Warning: file_get_contents(http://hello.com/index.html): failed to open stream: php_network_getaddresses: getaddrinfo failed: System error in /in/mYO4l on line 3
Output for hhvm-3.15.4
Warning: Failed to open http://hello.com/index.html (Could not resolve host: hello.com) in /in/mYO4l on line 3