3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $r=1*2*3*4*5*6*7*8*9*10*11*12*13; var_dump($r); var_dump(pow(2,31)-1); var_dump((int)$r); var_dump(pow(2,63));
based on 8lGig
Output for 4.3.6 - 7.1.7
int(6227020800) int(2147483647) int(6227020800) float(9.2233720368548E+18)
Output for 4.3.0 - 4.3.5
int(6227020800) int(2147483647) int(6227020800) int(-9223372036854775808)