3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $stream = fsockopen("81.242.50.248", "4445",$errno,$errstr,3600); if($stream){ }else{ echo "nope<br>"; } ?>
Output for 5.0.0 - 7.1.7
Warning: fsockopen(): unable to connect to 81.242.50.248:4445 (Network is unreachable) in /in/P9Mj8 on line 2 nope<br>
Output for 4.3.3 - 4.4.9
Warning: fsockopen(): unable to connect to 81.242.50.248:4445 in /in/P9Mj8 on line 2 nope<br>
Output for 4.3.2
Warning: fsockopen(): php_hostconnect: connect failed in /in/P9Mj8 on line 2 Warning: fsockopen(): unable to connect to 81.242.50.248:4445 in /in/P9Mj8 on line 2 nope<br>
Output for 4.3.0 - 4.3.1

Process exited with code 139.