3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $html=file_get_contents('http:///www.google.com'); echo $html;
Output for 5.2.7 - 7.1.0
Warning: file_get_contents(http:///www.google.com): failed to open stream: operation failed in /in/BiZjH on line 2
Output for 4.3.2, 5.0.0 - 5.2.6
Warning: file_get_contents(http:///www.google.com): failed to open stream: Inappropriate ioctl for device in /in/BiZjH on line 2
Output for 4.3.3 - 4.4.9
Warning: file_get_contents(http:///www.google.com): failed to open stream: Success in /in/BiZjH on line 2
Output for 4.3.1
Warning: file_get_contents() [http://www.php.net/function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/BiZjH on line 2 Warning: file_get_contents(http:///www.google.com) [http://www.php.net/function.file-get-contents]: failed to create stream: Connection refused in /in/BiZjH on line 2
Output for 4.3.0
Warning: file_get_contents() [http://www.php.net/function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: System error in /in/BiZjH on line 2 Warning: file_get_contents(http:///www.google.com) [http://www.php.net/function.file-get-contents]: failed to create stream: Connection refused in /in/BiZjH on line 2