Doc #55400 [Opn->Csd]: [DE] Reference to non-existent i18n_loc_set_default() in docs for array_unique()

From: Date: Sun, 14 Aug 2011 10:13:33 +0000
Subject: Doc #55400 [Opn->Csd]: [DE] Reference to non-existent i18n_loc_set_default() in docs for array_unique()
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-7002@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=55400&edit=1 ID: 55400 Updated by: nikic@php.net Reported by: jo at feuersee dot de -Summary: Reference to i18n_loc_set_default() in de translation of array_unique +Summary: [DE] Reference to non-existent i18n_loc_set_default() in docs for array_unique() -Status: Open +Status: Closed Type: Documentation Problem Package: Translation problem Operating System: Irrelevant PHP Version: Irrelevant -Assigned To: +Assigned To: nikic Block user comment: N Private report: N New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. That part was commented out in the docs, but the comment was closed one line too early, that's why one could still see part of it. I fixed that and synced the rest of the array_unique() docs with the EN version. Previous Comments: ------------------------------------------------------------------------ [2011-08-14 10:10:23] nikic@php.net Automatic comment from SVN on behalf of nikic Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=314895 Log: Sync DE array_unique docs with EN, fix doc bug #55400 ------------------------------------------------------------------------ [2011-08-11 13:56:31] jo at feuersee dot de Description: ------------ The german translation of the online documentation for the PHP function array_unique references the non-existent function i18n_loc_set_default() when explaining the possible values for the 2nd parameter, see <http://dk2.php.net/manual/de/function.array-unique.php> The english translation/original documentation is correct. IIRC the i18n_* functions were planned for the Unicode support planned for PHP6 but have been replaced by the Intl extension, thus a reference to locale_set_default or Locale::setDefault might be correct. On the other hand, the (en) online documentation of sort() references setlocale(). AFAIK setlocale is only supported as a fallback for BC, the more portable and thread-save ICU based Intl extension being 1st choice. Correct? ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=55400&edit=1

« previous php.doc.bugs (#7002) next »