3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $long = sprintf('%u', ip2long("128.0.0.1")); echo long2ip($long), ", ", sprintf('%u', ip2long("128.0.0.0")), "\n";
Output for 4.3.0 - 7.2.0
128.0.0.1, 2147483648