3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(fsockopen(gethostbyaddr("kubo2.wz.sk"), 80));
Output for 7.0.20, 7.1.5 - 7.3.0rc4
Warning: gethostbyaddr(): Address is not a valid IPv4 or IPv6 address in /in/21aOr on line 2 Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: System error in /in/21aOr on line 2 Warning: fsockopen(): unable to connect to :80 (php_network_getaddresses: getaddrinfo failed: System error) in /in/21aOr on line 2 bool(false)
Output for 5.2.6 - 7.0.14, 7.1.0
Warning: gethostbyaddr(): Address is not a valid IPv4 or IPv6 address in /in/21aOr on line 2 Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/21aOr on line 2 Warning: fsockopen(): unable to connect to :80 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /in/21aOr on line 2 bool(false)
Output for 5.0.3 - 5.2.5
Warning: gethostbyaddr(): Address is not a valid IPv4 or IPv6 address in /in/21aOr on line 2 Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/21aOr on line 2 Warning: fsockopen(): unable to connect to :80 (Unknown error) in /in/21aOr on line 2 bool(false)
Output for 5.0.0 - 5.0.2
Warning: gethostbyaddr(): Address is not a valid IPv4 or IPv6 address in /in/21aOr on line 2 Warning: fsockopen(): php_network_getaddresses: gethostbyname failed in /in/21aOr on line 2 Warning: fsockopen(): unable to connect to :80 (Unknown error) in /in/21aOr on line 2 bool(false)
Output for 4.3.3 - 4.3.4, 4.3.10 - 4.4.9
Warning: gethostbyaddr(): Address is not a valid IPv4 or IPv6 address in /in/21aOr on line 2 Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/21aOr on line 2 Warning: fsockopen(): unable to connect to :80 in /in/21aOr on line 2 bool(false)
Output for 4.3.5 - 4.3.9
Warning: gethostbyaddr(): Address is not a valid IPv4 or IPv6 address in /in/21aOr on line 2 Warning: fsockopen(): php_network_getaddresses: gethostbyname failed in /in/21aOr on line 2 Warning: fsockopen(): unable to connect to :80 in /in/21aOr on line 2 bool(false)
Output for 4.3.2
Warning: gethostbyaddr(): Address is not a valid IPv4 or IPv6 address in /in/21aOr on line 2 Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known (is your IPV6 configuration correct? If this error happens all the time, try reconfiguring PHP using --disable-ipv6 option to configure) in /in/21aOr on line 2 Warning: fsockopen(): unable to connect to :80 in /in/21aOr on line 2 bool(false)
Output for 4.3.0 - 4.3.1
Warning: gethostbyaddr() [http://www.php.net/function.gethostbyaddr]: Address is not a valid IPv4 or IPv6 address in /in/21aOr on line 2
Process exited with code 139.