3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(long2ip(5054102)); var_dump(long2ip('0xC0A8071B'));
based on P8TRB
Output for 7.1.0 - 7.2.0
string(11) "0.77.30.150" Notice: A non well formed numeric value encountered in /in/b6c3V on line 4 string(7) "0.0.0.0"
Output for 5.3.21 - 7.0.20
string(11) "0.77.30.150" string(12) "192.168.7.27"