#35116 [Opn->Fbk]: base64_decode broken in PHP 4.4.1
| From: | sniper@php.net | Date: | Sat, 05 Nov 2005 19:01:41 +0000 |
| Subject: | #35116 [Opn->Fbk]: base64_decode broken in PHP 4.4.1 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-87646@lists.php.net to get a copy of this message | ||
ID: 35116
Updated by: sniper@php.net
Reported By: mj@php.net
-Status: Open
+Status: Feedback
Bug Type: Strings related
Operating System: Linux
PHP Version: 4.4.1
New Comment:
Why can't a bug be fixed?
Previous Comments:
------------------------------------------------------------------------
[2005-11-05 20:00:23] mj@php.net
I understand that whitespaces are not supported in Base64, but still
the behaviour of base64_decode() should not change from 4.4.0 to 4.4.1.
------------------------------------------------------------------------
[2005-11-05 19:28:40] mj@php.net
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 this bug report at http://bugs.php.net/?id=35116&edit=1