3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(fsockopen("8.8.8.8", 80));
Output for 5.0.0 - 7.2.0
Warning: fsockopen(): unable to connect to 8.8.8.8:80 (Network is unreachable) in /in/nIkfp on line 2 bool(false)
Output for 4.3.3 - 4.4.9
Warning: fsockopen(): unable to connect to 8.8.8.8:80 in /in/nIkfp on line 2 bool(false)
Output for 4.3.2
Warning: fsockopen(): php_hostconnect: connect failed in /in/nIkfp on line 2 Warning: fsockopen(): unable to connect to 8.8.8.8:80 in /in/nIkfp on line 2 bool(false)
Output for 4.3.0 - 4.3.1

Process exited with code 139.