3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $fp = fsockopen('www.google.com', 80, $errno, $errstr, 3);
based on qrUYi
Output for 5.6.30, 7.0.30 - 7.3.0alpha1
Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: System error in /in/TLSKa on line 2 Warning: fsockopen(): unable to connect to www.google.com:80 (php_network_getaddresses: getaddrinfo failed: System error) in /in/TLSKa on line 2
Output for hhvm-3.18.5 - 3.22.0