repo.or.cz
/
hiphop-php.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
introduce array_multisort1, ..., array_multisort9
[hiphop-php.git]
/
hphp
/
test
/
slow
/
ext_array
/
natcasesort.php
blob
1e21218afdbdd838875863e2d684a43f7ecc89ce
1
<
?hh
2
3
4
<<
__EntryPoint
>>
5
function
main_natcasesort
() {
6
$array1
=
array
(
"IMG0.png"
,
"img12.png"
,
"img10.png"
,
7
"img2.png"
,
"img1.png"
,
"IMG3.png"
);
8
$array2
=
$array1
;
9
sort
(&
$array1
);
10
var_dump
(
$array1
);
11
12
natcasesort
(&
$array2
);
13
var_dump
(
$array2
);
14
}