3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo ip2long(long2ip("170.2.1")); ?>
based on bh3Rl
Output for 7.1.0 - 7.2.0
Notice: A non well formed numeric value encountered in /in/667Lt on line 2 170
Output for 5.3.20 - 7.0.20
170