3v4l.org

run code in 300+ PHP versions simultaneously
<?php $val = 0x1 << 32; echo $val."\n"; (float)$val = (float)0x1 << 32; echo $val;
Output for 7.2.0 - 7.2.33, 7.3.0 - 7.3.21, 7.4.0 - 7.4.9, 8.0.0alpha1 - beta1
4294967296 4294967296