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_uassoc.php
blob
51f750680d5038f036301bb14f4865d25761f95e
1
<
?hh
2
3
4
<<
__EntryPoint
>>
5
function
main_array_uintersect_uassoc
() {
6
$array1
=
dict
[
7
"a"
=>
"green"
,
8
"b"
=>
"brown"
,
9
"c"
=>
"blue"
,
10
"0"
=>
"red"
11
];
12
$array2
=
dict
[
13
"a"
=>
"GREEN"
,
14
"B"
=>
"brown"
,
15
"0"
=>
"yellow"
,
16
"1"
=>
"red"
17
];
18
var_dump
(
19
array_uintersect_uassoc
(
$array1
,
$array2
,
strcasecmp
<>,
strcasecmp
<>));
20
}