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
Add binary field to deepcopy test
[hiphop-php.git]
/
hphp
/
test
/
slow
/
ext_array
/
natcasesort.php
blob
ccfcfd8477004b6a717a48bdee3e5c2d3d197352
1
<
?hh
2
3
4
<<
__EntryPoint
>>
5
function
main_natcasesort
() :
mixed
{
6
$array1
=
vec
[
"IMG0.png"
,
"img12.png"
,
"img10.png"
,
7
"img2.png"
,
"img1.png"
,
"IMG3.png"
];
8
$array2
=
$array1
;
9
sort
(
inout
$array1
);
10
var_dump
(
$array1
);
11
12
natcasesort
(
inout
$array2
);
13
var_dump
(
$array2
);
14
}