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 bitset operations and tests
[hiphop-php.git]
/
hphp
/
test
/
slow
/
ext_array
/
array_intersect.php
blob
6ef8dc9667973fa289f98a8dce694f70b8149616
1
<
?php
2
3
$array1
=
array
(
4
"a"
=>
"green"
,
5
"red"
,
6
"blue"
7
);
8
$array2
=
array
(
9
"b"
=>
"green"
,
10
"yellow"
,
11
"red"
12
);
13
var_dump
(
array_intersect
(
$array1
,
$array2
));