Lines Matching refs:array_intersect
2 Test array_intersect() function : usage variations - two dimensional arrays for $arr1 and $arr2 arg…
5 /* Prototype : array array_intersect(array $arr1, array $arr2 [, array $...])
11 * Testing the behavior of array_intersect() by passing 2-D arrays
16 echo "*** Testing array_intersect() : passing two dimensional array to both \$arr1 and \$arr2 argum…
36 // Calling array_intersect() with default arguments
39 var_dump( array_intersect($arr1, $arr2) );
41 // Calling array_intersect() with more arguments
44 var_dump( array_intersect($arr1, $arr2, $arr1) );
47 // Calling array_intersect() with default arguments
50 var_dump( array_intersect($arr1[0], $arr2[0]) );
52 // Calling array_intersect() with more arguments
55 var_dump( array_intersect($arr1[0], $arr2[0], $arr1[0]) );
60 *** Testing array_intersect() : passing two dimensional array to both $arr1 and $arr2 arguments ***