#20468 [Fbk->NoF]: strcoll doesn't work

From: Date: Sun, 01 Dec 2002 22:34:34 +0000
Subject: #20468 [Fbk->NoF]: strcoll doesn't work
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-26314@lists.php.net to get a copy of this message
ID: 20468 Updated by: sniper@php.net Reported By: pixel@dpg.hu -Status: Feedback +Status: No Feedback Bug Type: *Languages/Translation Operating System: windows 2000 hun PHP Version: 4.2.3 New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2002-11-17 15:33:52] derick@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ [2002-11-17 15:32:05] pixel@dpg.hu due to strcoll() was enabled in php 4.2.3 it doesn't works on my windows -- setlocale("LC_ALL","hu_HU"); $tomb=array("alma","banán","banan","bánan","BANÁN","BÁNÁN","bAnan","BáNan","hami","Banyeksrác","bÁNÁn","bynek"); usort($tomb, create_function('$a,$b','return strcoll(strtoupper($a),strtoupper($b));')); -- gives: tomb[2] = bAnan tomb[3] = Banyeksrác tomb[4] = BANÁN but 'á' is before than 'y' this script works on linux... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20468&edit=1

« previous php.bugs (#26314) next »