3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = 9223372036854775806; var_dump($x); $x++; var_dump($x); $x++; var_dump($x); $x++; var_dump($x);
based on v7JtM
Output for 4.3.0 - 7.2.0
int(9223372036854775806) int(9223372036854775807) float(9.2233720368548E+18) float(9.2233720368548E+18)