PHP 4.0 Bug #10161 Updated: base64_decode doesn't work correctly

From: Date: Wed, 04 Apr 2001 16:01:48 +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-50857@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: Why did you change this to open without giving any feedback? --Jani Previous Comments: --------------------------------------------------------------------------- [2001-04-04 11:37:19] sniper@php.net 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 --------------------------------------------------------------------------- [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

« previous php.dev (#50857) next »