3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php phpinfo(); var_dump(file_get_contents('http://www.ya.ru'));
Output for 7.0.20, 7.1.5 - 7.3.0rc4
Warning: phpinfo() has been disabled for security reasons in /in/5ZN8P on line 2 Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: System error in /in/5ZN8P on line 3 Warning: file_get_contents(http://www.ya.ru): failed to open stream: php_network_getaddresses: getaddrinfo failed: System error in /in/5ZN8P on line 3 bool(false)
Output for 5.3.0 - 7.0.14, 7.1.0
Warning: phpinfo() has been disabled for security reasons in /in/5ZN8P on line 2 Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/5ZN8P on line 3 Warning: file_get_contents(http://www.ya.ru): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/5ZN8P on line 3 bool(false)