3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $max = ((~0) ^ (1 << 63)); // for versions before PHP_INT_MAX; var_dump(range($max, ((float) $max) + 0.1));
based on XHQBP
Output for 5.0.0 - 7.1.0
array(1) { [0]=> float(9.2233720368548E+18) }
Output for 4.3.0 - 4.4.9
array(2) { [0]=> int(-1) [1]=> int(0) }