3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(long2ip(0xC0A8071B)); var_dump(long2ip('0xC0A8071B'));
Output for 7.1.0alpha1 - 7.1.0RC6
string(12) "192.168.7.27" Notice: A non well formed numeric value encountered in /in/P8TRB on line 4 string(7) "0.0.0.0"
Output for 4.3.0 - 7.0.12
string(12) "192.168.7.27" string(12) "192.168.7.27"