On 32-bits systems, integers larger than PHP_INT_MAX are automatically converted to float. Outputting these as integer values (i.e. non-scientific notation) can be done with printf, using the float representation, as illustrated below:
foreach ([1, 2, 3, 4, 5, 6, 9, 12] as $p) {
$i = pow(1024,...