Doc #74029 [Com]: base64_decode parameter description incorrect
| From: | edna at ias dot edu | Date: | Mon, 06 Feb 2017 14:53:38 +0000 |
| Subject: | Doc #74029 [Com]: base64_decode parameter description incorrect | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-14418@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=74029&edit=1
ID: 74029
Comment by: edna at ias dot edu
Reported by: edna at ias dot edu
Summary: base64_decode parameter description incorrect
Status: Analyzed
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
The point is a parameter does not return anything.
Previous Comments:
------------------------------------------------------------------------
[2017-02-02 18:07:46] cmb@php.net
> Set to FALSE if input contains character from outside the base64
> alphabet.
That still wouldn't explain the actual meaning of this parameter:
if it is TRUE and data contains invalid characters, the function
fails (returning FALSE). If it is false and data contains invalid
characters, these are silently skipped.
------------------------------------------------------------------------
[2017-02-01 20:34:57] edna at ias dot edu
Description:
------------
The second parameter **strict** is described as:
Returns FALSE if input contains character from outside the base64 alphabet.
Should be
Set to FALSE if input contains character from outside the base64 alphabet.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=74029&edit=1