-rw------- 1 rem user 1457 Jan 27 2007 int.php
^ ^ Note read permission for group and other is *not* needed!
** Start of listing of int.php **
Experimenting with using integers PHP
See PHP source for this
Starting to assign initial values of variables from literals ...
done.
Now to print out those values ...
done.
Now to try huge literal ...
done, and to print out that value ...
done. I tried one digit larger literal, but it gave "Inf" (infinity) as
the result. Let me try creating a similar value by arithmetic ...
done.
\n";
$i2 = $i1 * 1000000;
echo "i2 = i1*1000000 = $i2
\n";
$i3 = $i2 + $i1;
echo "i3 = i2+i1 = $i3
\n";
$i1b = $i3 - $i2;
echo "i1b = i3-i2 = $i1b
\n";
?>
** End of listing of int.php **