#23564 [NEW]: base_convert() ignores last character

From: Date: Fri, 09 May 2003 14:22:00 +0000
Subject: #23564 [NEW]: base_convert() ignores last character
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39393@lists.php.net to get a copy of this message
From: jaakkoho at paju dot oulu dot fi Operating system: Linux 2.4 (Debian) PHP version: 4.3.1 PHP Bug Type: Math related Bug description: base_convert() ignores last character Both the following commands outputs same value: base_convert("aaaaaaaaaaa", 36, 10); base_convert("aaaaaaaaaab", 36, 10); output: 37606201097790608 In fact, the last character can be whatever between 0-z, and the output is always same. This bug appears only if strlen($string_to_convert) > 10. -- Edit bug report at http://bugs.php.net/?id=23564&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23564&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23564&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23564&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23564&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23564&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23564&r=support Expected behavior: http://bugs.php.net/fix.php?id=23564&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23564&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23564&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23564&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23564&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23564&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23564&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23564&r=gnused

« previous php.bugs (#39393) next »