#23791 [NEW]: Mod does'nt return correct values
| From: | info at veebiteenused dot com | Date: | Sat, 24 May 2003 14:58:29 +0000 |
| Subject: | #23791 [NEW]: Mod does'nt return correct values | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-40349@lists.php.net to get a copy of this message | ||
From: info at veebiteenused dot com
Operating system: RedHat Linux 9
PHP version: 4.3.2RC4
PHP Bug Type: *Math Functions
Bug description: Mod does'nt return correct values
long2ip(3232238081) = '192.168.10.-255'
3232238081 % 256 = -255
must be:
3232238081 % 256 = 1
--
Edit bug report at http://bugs.php.net/?id=23791&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23791&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23791&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23791&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23791&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23791&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23791&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23791&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23791&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23791&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23791&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23791&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23791&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23791&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23791&r=gnused