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