Lines Matching refs:next
2 Test next() function : usage variation - Pass different data types as $array_arg
5 /* Prototype : mixed next(array $array_arg)
6 * Description: Move array argument's internal pointer to the next element and return it
11 * Pass different data types as $array_arg argument to next() to test behaviour
14 echo "*** Testing next() : variation ***\n";
85 // loop through each element of $inputs to check the behavior of next()
89 var_dump( next($input) );
97 *** Testing next() : variation ***
101 Warning: next() expects parameter 1 to be array, integer given in %s on line %d
106 Warning: next() expects parameter 1 to be array, integer given in %s on line %d
111 Warning: next() expects parameter 1 to be array, integer given in %s on line %d
116 Warning: next() expects parameter 1 to be array, integer given in %s on line %d
121 Warning: next() expects parameter 1 to be array, double given in %s on line %d
126 Warning: next() expects parameter 1 to be array, double given in %s on line %d
131 Warning: next() expects parameter 1 to be array, double given in %s on line %d
136 Warning: next() expects parameter 1 to be array, double given in %s on line %d
141 Warning: next() expects parameter 1 to be array, double given in %s on line %d
146 Warning: next() expects parameter 1 to be array, null given in %s on line %d
151 Warning: next() expects parameter 1 to be array, null given in %s on line %d
156 Warning: next() expects parameter 1 to be array, boolean given in %s on line %d
161 Warning: next() expects parameter 1 to be array, boolean given in %s on line %d
166 Warning: next() expects parameter 1 to be array, boolean given in %s on line %d
171 Warning: next() expects parameter 1 to be array, boolean given in %s on line %d
176 Warning: next() expects parameter 1 to be array, string given in %s on line %d
181 Warning: next() expects parameter 1 to be array, string given in %s on line %d
189 Warning: next() expects parameter 1 to be array, string given in %s on line %d
194 Warning: next() expects parameter 1 to be array, string given in %s on line %d
199 Warning: next() expects parameter 1 to be array, string given in %s on line %d
207 Warning: next() expects parameter 1 to be array, null given in %s on line %d
212 Warning: next() expects parameter 1 to be array, null given in %s on line %d
217 Warning: next() expects parameter 1 to be array, resource given in %s on line %d