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
Updating submodules
[hiphop-php.git]
/
hphp
/
test
/
slow
/
ext_array
/
array_uintersect_assoc.php
blob
563110d00b7bb0beebfdae036ed865f06a18a5bb
1
<
?hh
2
3
4
<<
__EntryPoint
>>
5
function
main_array_uintersect_assoc
() {
6
$array1
=
darray
[
7
"a"
=>
"green"
,
8
"b"
=>
"brown"
,
9
"c"
=>
"blue"
,
10
0
=>
"red"
11
];
12
$array2
=
darray
[
13
"a"
=>
"GREEN"
,
14
"B"
=>
"brown"
,
15
0
=>
"yellow"
,
16
1
=>
"red"
17
];
18
var_dump
(
array_uintersect_assoc
(
$array1
,
$array2
,
strcasecmp
<>));
19
}