ID: 13407
Updated by: jeroen
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Bogus
Bug Type: Unknown/Other Function
Operating System:
PHP Version: 4.0.4pl1
New Comment:
Integers are limited in capacity, you're too near the bounds of integer. If you need
such high numbers, see GMP.
Not a bug. (though technically it could be possible to let this single number work,
the next one will fail.)
Do a var_dump($ar) to see what happens.
Previous Comments:
------------------------------------------------------------------------
[2001-09-23 14:44:33] [EMAIL PROTECTED]
$ar["2147483646"]="apples";
$ar["2147483647"]="oranges";
echo $ar[2147483646];
echo $ar[2147483647];
produces:
apples
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13407&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]