3v4l.org

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