note 69747 added to function.base64-decode
| From: | Starson at osu1 dot php dot net | Date: | Tue, 19 Sep 2006 13:23:43 +0000 |
| Subject: | note 69747 added to function.base64-decode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-117311@lists.php.net to get a copy of this message | ||
To expand on Jes' post:
The change took place between 5.0.5 and 5.1.0. Exactly where I don't know or care.
In short php <= 5.0.5's base64_decode( $string ) will assume that a space is meant to be a +
sign where php >= 5.1.0's base64_decode( $string ) will no longer make that assumption. I
did not see this noted in the change log.
Please note that, as of this writing, mb_convert_encoding( $string, "UTF-8",
"BASE64" ) still behaves as base64_decode( $string ) did in php <= 5.0.5 regardless of
the version of php you are running.
----
Server IP: 216.194.113.175
Probable Submitter: 65.123.211.13
----
Manual Page -- http://www.php.net/manual/en/function.base64-decode.php
Edit -- https://master.php.net/note/edit/69747
Del: integrated -- https://master.php.net/note/delete/69747/integrated
Del: useless -- https://master.php.net/note/delete/69747/useless
Del: bad code -- https://master.php.net/note/delete/69747/bad+code
Del: spam -- https://master.php.net/note/delete/69747/spam
Del: non-english -- https://master.php.net/note/delete/69747/non-english
Del: in docs -- https://master.php.net/note/delete/69747/in+docs
Del: other reasons-- https://master.php.net/note/delete/69747
Reject -- https://master.php.net/note/reject/69747
Search -- https://master.php.net/manage/user-notes.php