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
 [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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 20:01:29 2024 UTC