|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-10-01 15:02 UTC] hholzgra@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 19:00:01 2025 UTC |
SCRIPT ------ function cmpfunc($a,$b) { echo "*$a**$b*<BR>"; echo strtr("*$a**$b*<BR>","\0","_"); if ($a<$b) return -1; else if ($a==$b) return 0; else return 1; } $a=array("a" => 1, "b" => 2); uksort($a,cmpfunc); OUTPUT ------ *a *a_**b_* *a *a_**b_* CONFIGURE --------- ./configure --with-apxs=/usr/local/bin/apxs \ --with-config-file-path=/usr/local/apache/conf \ --with-pgsql=/usr/local/ --with-gd=$HOME/ \ --with-snmp --with-sysvsem --with-sysvshm Apache version: 1.3.11 The same thing happens on Linux with PHP 3.0.12.