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

From: Date: Wed, 04 Apr 2001 16:20:58 +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-50862@lists.php.net to get a copy of this message
ID: 10161 User Update by: kenji@earthlink.net Status: Closed Bug Type: *URL Functions Description: base64_decode doesn't work correctly couldn't reproduce it anymore :) Previous Comments: --------------------------------------------------------------------------- [2001-04-04 12:07:29] kenji@earthlink.net couldn't reproduce it anymore :) --------------------------------------------------------------------------- [2001-04-04 12:01:54] sniper@php.net Why did you change this to open without giving any feedback? --Jani --------------------------------------------------------------------------- [2001-04-04 12:01:48] sniper@php.net Why did you change this to open without giving any feedback? --Jani --------------------------------------------------------------------------- [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". --------------------------------------------------------------------------- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. Full Bug description available at: http://bugs.php.net/?id=10161

« previous php.dev (#50862) next »