PHP 4.0 Bug #5810 Updated: Arithmetic Operator %
| From: | Bug Database | Date: | Thu, 27 Jul 2000 09:28:27 +0000 |
| Subject: | PHP 4.0 Bug #5810 Updated: Arithmetic Operator % | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-26447@lists.php.net to get a copy of this message | ||
ID: 5810
Updated by: stas
Reported By: nimrod@ambernet.kiev.ua
Status: Closed
Bug Type: Scripting Engine problem
Assigned To:
Comments:
Not true. 2147483649 % 3 returns -2. This is because PHP numbers are signed longs. If you want
really large numbers, use bcmath extention.
Full Bug description available at: http://bugs.php.net/?id=5810