3v4l.org

run code in 150+ 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)); var_dump((int)$r); var_dump(pow(2,63));
based on TjsEm
Output for 4.3.6 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
int(6227020800) int(2147483648) int(6227020800) float(9.2233720368548E+18)
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.0 - 4.3.5
int(6227020800) int(2147483648) int(6227020800) int(-9223372036854775808)