3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $ip = '173.194.110.232'; $long = ip2long($ip); $cIP = long2ip($long); var_dump($ip, $long, $cIP);
Output for 4.3.0 - 7.2.0
string(15) "173.194.110.232" int(2915200744) string(15) "173.194.110.232"