3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(-9223372036854775807); var_dump(-9223372036854775808); var_dump(-9223372036854775807-1); var_dump(~PHP_INT_MAX);
based on v6NSt
Output for 5.3.18 - 7.2.0
int(-9223372036854775807) float(-9.2233720368548E+18) int(-9223372036854775808) int(-9223372036854775808)