php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20468 strcoll doesn't work
Submitted: 2002-11-17 15:32 UTC Modified: 2002-12-01 16:34 UTC
From: pixel at dpg dot hu Assigned:
Status: No Feedback Package: *Languages/Translation
PHP Version: 4.2.3 OS: windows 2000 hun
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: pixel at dpg dot hu
New email:
PHP Version: OS:

 

 [2002-11-17 15:32 UTC] pixel at dpg dot 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...

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-17 15:33 UTC] 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-12-01 16:34 UTC] sniper@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 11:01:27 2024 UTC