Lines Matching refs:array_diff
2 Test array_diff() function : basic functionality
6 * Test basic functionality of array_diff
9 echo "*** Testing array_diff() : basic functionality ***\n";
16 var_dump(array_diff($array_int1, $array_int2));
17 var_dump(array_diff($array_int2, $array_int1));
25 var_dump(array_diff($array_string1, $array_string2));
26 var_dump(array_diff($array_string2, $array_string1));
33 var_dump(array_diff($array_assoc_int1, $array_assoc_int2));
34 var_dump(array_diff($array_assoc_int2, $array_assoc_int1));
41 var_dump(array_diff($array_assoc_str1, $array_assoc_str2));
42 var_dump(array_diff($array_assoc_str2, $array_assoc_str1));
44 echo "-- Test array_diff with more than 2 arguments --\n";
45 var_dump(array_diff($array_int1, $array_int2, $array_string1, $array_string2));
50 *** Testing array_diff() : basic functionality ***
103 -- Test array_diff with more than 2 arguments --