3v4l.org

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