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