Lines Matching refs:array_diff
2 Test array_diff() function : usage variations - unexpected values for 'arr1' argument
5 /* Prototype : array array_diff(array $arr1, array $arr2 [, array ...])
12 * Test array_diff by passing non array values in place of $arr1
15 echo "*** Testing array_diff() : usage variations ***\n";
91 // loop through each element of $inputs to check the behavior of array_diff
95 var_dump( array_diff($input, $array));
103 *** Testing array_diff() : usage variations ***
106 Warning: array_diff(): Expected parameter 1 to be an array, int given in %s on line %d
110 Warning: array_diff(): Expected parameter 1 to be an array, int given in %s on line %d
114 Warning: array_diff(): Expected parameter 1 to be an array, int given in %s on line %d
118 Warning: array_diff(): Expected parameter 1 to be an array, int given in %s on line %d
122 Warning: array_diff(): Expected parameter 1 to be an array, float given in %s on line %d
126 Warning: array_diff(): Expected parameter 1 to be an array, float given in %s on line %d
130 Warning: array_diff(): Expected parameter 1 to be an array, float given in %s on line %d
134 Warning: array_diff(): Expected parameter 1 to be an array, float given in %s on line %d
138 Warning: array_diff(): Expected parameter 1 to be an array, float given in %s on line %d
142 Warning: array_diff(): Expected parameter 1 to be an array, null given in %s on line %d
146 Warning: array_diff(): Expected parameter 1 to be an array, null given in %s on line %d
150 Warning: array_diff(): Expected parameter 1 to be an array, bool given in %s on line %d
154 Warning: array_diff(): Expected parameter 1 to be an array, bool given in %s on line %d
158 Warning: array_diff(): Expected parameter 1 to be an array, bool given in %s on line %d
162 Warning: array_diff(): Expected parameter 1 to be an array, bool given in %s on line %d
166 Warning: array_diff(): Expected parameter 1 to be an array, string given in %s on line %d
170 Warning: array_diff(): Expected parameter 1 to be an array, string given in %s on line %d
174 Warning: array_diff(): Expected parameter 1 to be an array, string given in %s on line %d
178 Warning: array_diff(): Expected parameter 1 to be an array, string given in %s on line %d
182 Warning: array_diff(): Expected parameter 1 to be an array, string given in %s on line %d
186 Warning: array_diff(): Expected parameter 1 to be an array, string given in %s on line %d
190 Warning: array_diff(): Expected parameter 1 to be an array, string given in %s on line %d
194 Warning: array_diff(): Expected parameter 1 to be an array, object given in %s on line %d
198 Warning: array_diff(): Expected parameter 1 to be an array, null given in %s on line %d
202 Warning: array_diff(): Expected parameter 1 to be an array, null given in %s on line %d
206 Warning: array_diff(): Expected parameter 1 to be an array, resource given in %s on line %d