Edit report at https://bugs.php.net/bug.php?id=60933&edit=1
ID: 60933 Updated by: ahar...@php.net Reported by: m...@php.net Summary: Testing asort with SORT_LOCALE_STRING fails on Mac OS X 10.6 -Status: Assigned +Status: Suspended Type: Bug Package: Arrays related Operating System: Mac OS X 10.6 PHP Version: 5.4SVN-2012-01-30 (SVN) Assigned To: aharvey Block user comment: N Private report: N New Comment: Fixed on trunk and 5.3. Pinging stas and dsp re: 5.4. Previous Comments: ------------------------------------------------------------------------ [2012-02-03 01:21:20] ahar...@php.net Automatic comment from SVN on behalf of aharvey Revision: http://svn.php.net/viewvc/?view=revision&revision=323036 Log: Fix bug #60933 (Testing asort with SORT_LOCALE_STRING fails on Mac OS X 10.6) on PHP_5_3 and trunk. ------------------------------------------------------------------------ [2012-02-02 15:29:39] ras...@php.net Looks good, commit. ------------------------------------------------------------------------ [2012-02-02 14:18:51] j dot jeising at gmail dot com Patch fixed the problem, test passes. ------------------------------------------------------------------------ [2012-02-02 04:50:59] ahar...@php.net The following patch has been added/updated: Patch Name: bug-60933-locale-sort-test Revision: 1328158259 URL: https://bugs.php.net/patch-display.php?bug=60933&patch=bug-60933-locale-sort-test&revision=1328158259 ------------------------------------------------------------------------ [2012-02-02 04:50:40] ahar...@php.net I think this may just be nothing more than the default fr_FR locale selected on OS X nowadays simply being UTF-8 by default these days, which obviously fails to sort an ISO-8859-1 array correctly. Can people who've had this fail try the attached patch and see if it fixes the problem, please? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=60933 -- Edit this bug report at https://bugs.php.net/bug.php?id=60933&edit=1