#35116 [NEW]: base64_decode broken in PHP 4.4.1

From: Date: Sat, 05 Nov 2005 18:28:41 +0000
Subject: #35116 [NEW]: base64_decode broken in PHP 4.4.1
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-87637@lists.php.net to get a copy of this message
From: mj@php.net Operating system: Linux PHP version: 4.4.1 PHP Bug Type: Strings related Bug description: base64_decode broken in PHP 4.4.1 Description: ------------ While base64_decode works properly in PHP 4.4.0 and PHP 5, it fails in PHP 4.4.1. I can reproduce this problem with vanilla sources of PHP 4.4.1 with the following ./configure line: ./configure --disable-all --with-mcrypt --enable-cli I'm using Linux with glibc 2.3.5 and GCC 4.0.3. Reproduce code: --------------- <?php echo base64_decode("Hello World"); Expected result: ---------------- ée£å¨®W Actual result: -------------- ée¡j+ -- Edit bug report at http://bugs.php.net/?id=35116&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=35116&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=35116&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=35116&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=35116&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=35116&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35116&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=35116&r=needscript Try newer version: http://bugs.php.net/fix.php?id=35116&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35116&r=support Expected behavior: http://bugs.php.net/fix.php?id=35116&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35116&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35116&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=35116&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35116&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=35116&r=dst IIS Stability: http://bugs.php.net/fix.php?id=35116&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35116&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35116&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35116&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=35116&r=mysqlcfg

« previous php.bugs (#87637) next »