Re: base64_decode is buggy, what to fix?
| From: | Yasuo Ohgaki | Date: | Mon, 23 May 2016 00:52:02 +0000 |
| Subject: | Re: base64_decode is buggy, what to fix? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-93430@lists.php.net to get a copy of this message | ||
Hi Lauri,
On Sun, May 22, 2016 at 7:56 PM, Lauri Kenttä <lauri.kentta@gmail.com> wrote:
>
> Suggestions?
IMHO
Return FALSE for any invalid input when strict mode is on.
Enable strict mode by default.
Keep current behavior when strict mode is off.
would be the best.
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net