php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #71866 mb_detect_order return value
Submitted: 2016-03-21 10:52 UTC Modified: 2016-03-27 22:03 UTC
From: maggus dot staab at googlemail dot com Assigned: tpunt (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: maggus dot staab at googlemail dot com
New email:
PHP Version: OS:

 

 [2016-03-21 10:52 UTC] maggus dot staab at googlemail dot com
Description:
------------
http://php.net/mb_detect_order

the section "RETURN VALUES" misses a hint that when "If encoding_list is omitted, it returns the current character encoding detection order as array."

ATM it reads like the function will always return a bool (even if the signature at the top hints "mixed"


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-03-27 22:02 UTC] tpunt@php.net
Automatic comment from SVN on behalf of tpunt
Revision: http://svn.php.net/viewvc/?view=revision&revision=338834
Log: Resolve doc bug #71866
 [2016-03-27 22:03 UTC] tpunt@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: tpunt
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Aug 10 01:05:46 2022 UTC