|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-02-13 03:33 UTC] cataphract@php.net
-Type: Bug
+Type: Documentation Problem
[2011-02-13 03:33 UTC] cataphract@php.net
[2011-02-13 03:41 UTC] jinmoku at hotmail dot com
[2011-12-07 03:46 UTC] frozenfire@php.net
-Status: Open
+Status: Duplicate
[2011-12-07 03:46 UTC] frozenfire@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 12:00:02 2025 UTC |
Description: ------------ resourcebundle_locales and ResourceBundle::getLocales returns all locales with null/false/empty string parameter Test script: --------------- $r = resourcebundle_locales(''); //or false, null echo join("\n", $r); Expected result: ---------------- Warning: resourcebundle_locales(): Cannot fetch locales list in C:\www\test\index.php on line 3 Warning: join(): Invalid arguments passed in C:\www\test\index.php on line 4 Actual result: -------------- af af_ZA am am_ET ar ar_AE ar_BH ar_DZ ar_EG ar_IQ ar_JO ar_KW ar_LB ar_LY ar_MA ar_OM ar_QA ar_SA ar_SD ar_SY ar_TN ar_YE as as_IN az az_Cyrl az_Cyrl_AZ az_Latn az_Latn_AZ ...