What is the difference beetwen
PHP_INT_MAX
PHP_INT_SIZE
precision from php.ini I have Windows 8.1(64bit), entered code:
ini_set('precision', 50);
$t = 12345678901234567890123456789012345678901234567890;
echo $t; //the result is 12345678901234566660398341115085767575755770822656
http://php.net/manual/en/reserved.constants.php says
The values might be e.g. PHP_INT_MAX=2147483647 and PHP_INT_SIZE=4, i.e. the integer type is 32 bits "wide" (4 bytes) and has a range from –2147483648 to 2147483647.
precision is explained at http://docs.php.net/manual/en/ini.core.php#ini.precision as :
So it doesn't affect integers but floats. E.g.
prints