3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $file_contents = file_get_contents('http://187.28.188.201/'); // display file echo $file_contents; ?>
Output for 4.3.3 - 7.1.0
Warning: file_get_contents(http://187.28.188.201/): failed to open stream: Network is unreachable in /in/Euo9j on line 2
Output for 4.3.2
Warning: file_get_contents(): php_hostconnect: connect failed in /in/Euo9j on line 2 Warning: file_get_contents(http://187.28.188.201/): failed to open stream: Network is unreachable in /in/Euo9j on line 2
Output for 4.3.0 - 4.3.1
Warning: file_get_contents() [http://www.php.net/function.file-get-contents]: php_hostconnect: connect failed in /in/Euo9j on line 2 Warning: file_get_contents(http://187.28.188.201/) [http://www.php.net/function.file-get-contents]: failed to create stream: Network is unreachable in /in/Euo9j on line 2