php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #74029 base64_decode parameter description incorrect
Submitted: 2017-02-01 20:34 UTC Modified: 2017-03-20 12:21 UTC
Votes:2
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: edna at ias dot edu Assigned: peehaa (profile)
Status: Closed Package: Strings related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2017-02-01 20:34 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-02-02 18:07 UTC] cmb@php.net
-Status: Open +Status: Analyzed
 [2017-02-02 18:07 UTC] 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-06 14:53 UTC] edna at ias dot edu
The point is a parameter does not return anything.
 [2017-02-07 12:05 UTC] cmb@php.net
-Package: Documentation problem +Package: Strings related
 [2017-03-20 12:20 UTC] peehaa@php.net
-Status: Analyzed +Status: Closed -Assigned To: +Assigned To: peehaa
 [2017-03-20 12:20 UTC] peehaa@php.net
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 [2017-03-20 12:21 UTC] peehaa@php.net
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.

Sorry wrong close option :-)
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Dec 08 22:01:24 2019 UTC