ID: 37896 Updated by: [EMAIL PROTECTED] Reported By: hjschock at danka dot de -Status: Open +Status: Bogus -Bug Type: Scripting Engine problem +Bug Type: Strings related Operating System: Windows XP SP2 PHP Version: 5.1.4 New Comment:
See bug #35116. Previous Comments: ------------------------------------------------------------------------ [2006-06-22 20:31:09] hjschock at danka dot de Description: ------------ I have upgraded from PHP 5.0.1 to 5.1.4 (and also New Apache 2.2.2) The PHP script which runs without problems with old version, now makes problems. Example: echo "Line bevor base64_decode: String is". $PWD ."<br>"; $PWD = base64_decode($PWD); echo "Line after base_64_decode: String is" .$PWD ."<br>"; The first echo shows the variable $PWD correct, but after $PWD = base64_decode($PWD); the variable is empty. I switched back to my old Apache and PHP version => all ok Tried with Apache 2.0.55 and PHP 5.0.5 => all ok Something wrong with base_64_decode?? regards Hansjoerg Reproduce code: --------------- $PWD = "hu 5HPSaRWZKa62ONP2ycA=="; echo "Line bevor base64_decode: String is". $PWD ."<br>"; $PWD = base64_decode($PWD); echo "Line after base_64_decode: String is" .$PWD ."<br>"; Expected result: ---------------- After base64_decode we should have an output Actual result: -------------- nothing happens ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37896&edit=1
