3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $f = fopen('http://213.180.204.3/','r') ; $data = $f.read(); var_dump($data);
Output for 7.0.0 - 7.1.0
Warning: fopen(http://213.180.204.3/): failed to open stream: Network is unreachable in /in/lb5A5 on line 1 Fatal error: Uncaught Error: Call to undefined function read() in /in/lb5A5:2 Stack trace: #0 {main} thrown in /in/lb5A5 on line 2
Process exited with code 255.
Output for 5.0.0 - 5.6.28
Warning: fopen(http://213.180.204.3/): failed to open stream: Network is unreachable in /in/lb5A5 on line 1 Fatal error: Call to undefined function read() in /in/lb5A5 on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Warning: fopen(http://213.180.204.3/): failed to open stream: Network is unreachable in /in/lb5A5 on line 1 Fatal error: Call to undefined function: read() in /in/lb5A5 on line 2
Process exited with code 255.
Output for 4.3.3 - 4.4.4
Warning: fopen(http://213.180.204.3/): failed to open stream: Network is unreachable in /in/lb5A5 on line 1 Fatal error: Call to undefined function: read() in /in/lb5A5 on line 2
Process exited with code 255.
Output for 4.3.2
Warning: fopen(): php_hostconnect: connect failed in /in/lb5A5 on line 1 Warning: fopen(http://213.180.204.3/): failed to open stream: Network is unreachable in /in/lb5A5 on line 1 Fatal error: Call to undefined function: read() in /in/lb5A5 on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Warning: fopen() [http://www.php.net/function.fopen]: php_hostconnect: connect failed in /in/lb5A5 on line 1 Warning: fopen(http://213.180.204.3/) [http://www.php.net/function.fopen]: failed to create stream: Network is unreachable in /in/lb5A5 on line 1 Fatal error: Call to undefined function: read() in /in/lb5A5 on line 2