summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli.c
diff options
context:
space:
mode:
authorMarkus Fischer <mfischer@php.net>2002-09-02 18:03:24 +0000
committerMarkus Fischer <mfischer@php.net>2002-09-02 18:03:24 +0000
commitf07b724620f902260bc6b1f063522f78a162cce5 (patch)
treefd8f9cf481208ce0fc7df63708049d60d2ad8bcb /sapi/cli/php_cli.c
parent96ab23981ccb6bb84fe9daeac143768a7a502f2f (diff)
downloadphp-git-f07b724620f902260bc6b1f063522f78a162cce5.tar.gz
- Enable strcoll() for win32 build
# Maybe I'm missing something. PHP has strcoll() since 4.0.5 but HAVE_STRCOLL # was always only available under Unix, no one activated it for Win32 since # then? # # Test to show it works: # <? $a=array("a", "z", "ä"); setlocale(LC_ALL, "German"); usort($a, "strcoll"); var_dump($a); ?> # # Output: # array(3) { # [0]=> # string(1) "a" # [1]=> # string(1) "ä" # [2]=> # string(1) "z" # } # # Thanks to a comment found on the usort() page and to a dlcp post about a # similar issue. # # Worth for a MFH for 4.2.3, anyone ?
Diffstat (limited to 'sapi/cli/php_cli.c')
0 files changed, 0 insertions, 0 deletions