Lines Matching refs:array_diff

2 Test array_diff() function : usage variations - unexpected values for 'array1' argument
6 * Test array_diff by passing non array values in place of $array1
9 echo "*** Testing array_diff() : usage variations ***\n";
85 // loop through each element of $inputs to check the behavior of array_diff
90 var_dump( array_diff($input, $array));
101 *** Testing array_diff() : usage variations ***
103 -- Iteration 1 --array_diff(): Argument #1 ($array) must be of type array, int given
105 -- Iteration 2 --array_diff(): Argument #1 ($array) must be of type array, int given
107 -- Iteration 3 --array_diff(): Argument #1 ($array) must be of type array, int given
109 -- Iteration 4 --array_diff(): Argument #1 ($array) must be of type array, int given
111 -- Iteration 5 --array_diff(): Argument #1 ($array) must be of type array, float given
113 -- Iteration 6 --array_diff(): Argument #1 ($array) must be of type array, float given
115 -- Iteration 7 --array_diff(): Argument #1 ($array) must be of type array, float given
117 -- Iteration 8 --array_diff(): Argument #1 ($array) must be of type array, float given
119 -- Iteration 9 --array_diff(): Argument #1 ($array) must be of type array, float given
121 -- Iteration 10 --array_diff(): Argument #1 ($array) must be of type array, null given
123 -- Iteration 11 --array_diff(): Argument #1 ($array) must be of type array, null given
125 -- Iteration 12 --array_diff(): Argument #1 ($array) must be of type array, bool given
127 -- Iteration 13 --array_diff(): Argument #1 ($array) must be of type array, bool given
129 -- Iteration 14 --array_diff(): Argument #1 ($array) must be of type array, bool given
131 -- Iteration 15 --array_diff(): Argument #1 ($array) must be of type array, bool given
133 -- Iteration 16 --array_diff(): Argument #1 ($array) must be of type array, string given
135 -- Iteration 17 --array_diff(): Argument #1 ($array) must be of type array, string given
137 -- Iteration 18 --array_diff(): Argument #1 ($array) must be of type array, string given
139 -- Iteration 19 --array_diff(): Argument #1 ($array) must be of type array, string given
141 -- Iteration 20 --array_diff(): Argument #1 ($array) must be of type array, string given
143 -- Iteration 21 --array_diff(): Argument #1 ($array) must be of type array, string given
145 -- Iteration 22 --array_diff(): Argument #1 ($array) must be of type array, string given
147 -- Iteration 23 --array_diff(): Argument #1 ($array) must be of type array, classA given
149 -- Iteration 24 --array_diff(): Argument #1 ($array) must be of type array, null given
151 -- Iteration 25 --array_diff(): Argument #1 ($array) must be of type array, null given
153 -- Iteration 26 --array_diff(): Argument #1 ($array) must be of type array, resource given