3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php printf("\nInt: %d\n",0xffffffffffffffff); printf("\nFlt: %f\n",0xffffffffffffffff); printf("\nUsi: %u\n",0xffffffffffffffff);
Output for 5.2.1 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Int: 0 Flt: 18446744073709551616.000000 Usi: 0
Output for 4.3.0 - 5.0.1, 5.0.3 - 5.2.0
Int: 0 Flt: 18446744073709552000.000000 Usi: 0
Output for 5.0.2
Int: 9223372036854775807 Flt: 18446744073709552000.000000 Usi: 4294967295