3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $val1 = pow(2, 64); $val2 = $val1 - 1; echo number_format($val1, 0, '', '') . "<br/>"; echo number_format($val2, 0, '', '') . "<br/>";
Output for 4.3.0 - 4.3.1, 5.2.1 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
18446744073709551616<br/>18446744073709551616<br/>
Output for 4.3.2 - 5.2.0
18446744073709552000<br/>18446744073709552000<br/>