PHP 4.0 Bug #10161 Updated: base64_decode doesn't work correctly
| From: | sniper@php.net | Date: | Wed, 04 Apr 2001 15:37:20 +0000 |
| Subject: | PHP 4.0 Bug #10161 Updated: base64_decode doesn't work correctly | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-50850@lists.php.net to get a copy of this message | ||
ID: 10161
Updated by: sniper
Reported By: kenji@earthlink.net
Old-Status: Open
Status: Feedback
Bug Type: *URL Functions
Assigned To:
Comments:
This works for me just fine:
<?php
echo base64_encode("960");
echo "\n";
echo base64_decode("OTYw");
?>
It prints out "OTYw" and "960".
960 as ninesixzero.
This is with latest CVS. You can try the latest snapshot
from http://snaps.php.net/ to verify.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-04-04 11:14:22] kenji@earthlink.net
Although base64_encode("960") produces the string "OTYw",
base64_decode("OTYw") doesn't produce "960".
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10161&edit=2