3v4l.org

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