| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
  [2001-04-04 11:14 UTC] kenji at earthlink dot net
 Although base64_encode("960") produces the string "OTYw", 
base64_decode("OTYw") doesn't produce "960".
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 15:00:01 2025 UTC | 
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