3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $num = 0xffffffffffffffff; $num2 = 0xffffffffffffffe; echo $num, "\n",$num2; printf("%u %d",$num, $num2);
Output for 4.3.0 - 5.0.1, 5.0.3 - 7.1.0
1.844674407371E+19 11529215046068469740 1152921504606846974
Output for 5.0.2
1.844674407371E+19 11529215046068469744294967295 1152921504606846974