Lines Matching refs:sort

2 Test sort() function : usage variations - unexpected values for 'array_arg' argument
5 /* Prototype : bool sort(array &array_arg [, int $sort_flags])
11 * testing sort() by providing different unexpected values for array argument
19 echo "*** Testing sort() : usage variations ***\n";
75 // loop though each element of the array and check the working of sort()
77 echo "\n-- Testing sort() by supplying different unexpected values for 'array' argument --\n";
84 var_dump( sort($value) ); // expecting : bool(false)
85 var_dump( sort($value, SORT_REGULAR) ); // expecting : bool(false)
86 var_dump( sort($value, SORT_NUMERIC) ); // expecting : bool(false)
87 var_dump( sort($value, SORT_STRING) ); // expecting : bool(false)
94 *** Testing sort() : usage variations ***
96 -- Testing sort() by supplying different unexpected values for 'array' argument --
101 Warning: sort() expects parameter 1 to be array, integer given in %s on line %d
104 Warning: sort() expects parameter 1 to be array, integer given in %s on line %d
107 Warning: sort() expects parameter 1 to be array, integer given in %s on line %d
110 Warning: sort() expects parameter 1 to be array, integer given in %s on line %d
114 Warning: sort() expects parameter 1 to be array, integer given in %s on line %d
117 Warning: sort() expects parameter 1 to be array, integer given in %s on line %d
120 Warning: sort() expects parameter 1 to be array, integer given in %s on line %d
123 Warning: sort() expects parameter 1 to be array, integer given in %s on line %d
127 Warning: sort() expects parameter 1 to be array, integer given in %s on line %d
130 Warning: sort() expects parameter 1 to be array, integer given in %s on line %d
133 Warning: sort() expects parameter 1 to be array, integer given in %s on line %d
136 Warning: sort() expects parameter 1 to be array, integer given in %s on line %d
140 Warning: sort() expects parameter 1 to be array, integer given in %s on line %d
143 Warning: sort() expects parameter 1 to be array, integer given in %s on line %d
146 Warning: sort() expects parameter 1 to be array, integer given in %s on line %d
149 Warning: sort() expects parameter 1 to be array, integer given in %s on line %d
153 Warning: sort() expects parameter 1 to be array, double given in %s on line %d
156 Warning: sort() expects parameter 1 to be array, double given in %s on line %d
159 Warning: sort() expects parameter 1 to be array, double given in %s on line %d
162 Warning: sort() expects parameter 1 to be array, double given in %s on line %d
166 Warning: sort() expects parameter 1 to be array, double given in %s on line %d
169 Warning: sort() expects parameter 1 to be array, double given in %s on line %d
172 Warning: sort() expects parameter 1 to be array, double given in %s on line %d
175 Warning: sort() expects parameter 1 to be array, double given in %s on line %d
179 Warning: sort() expects parameter 1 to be array, double given in %s on line %d
182 Warning: sort() expects parameter 1 to be array, double given in %s on line %d
185 Warning: sort() expects parameter 1 to be array, double given in %s on line %d
188 Warning: sort() expects parameter 1 to be array, double given in %s on line %d
192 Warning: sort() expects parameter 1 to be array, double given in %s on line %d
195 Warning: sort() expects parameter 1 to be array, double given in %s on line %d
198 Warning: sort() expects parameter 1 to be array, double given in %s on line %d
201 Warning: sort() expects parameter 1 to be array, double given in %s on line %d
205 Warning: sort() expects parameter 1 to be array, double given in %s on line %d
208 Warning: sort() expects parameter 1 to be array, double given in %s on line %d
211 Warning: sort() expects parameter 1 to be array, double given in %s on line %d
214 Warning: sort() expects parameter 1 to be array, double given in %s on line %d
218 Warning: sort() expects parameter 1 to be array, null given in %s on line %d
221 Warning: sort() expects parameter 1 to be array, null given in %s on line %d
224 Warning: sort() expects parameter 1 to be array, null given in %s on line %d
227 Warning: sort() expects parameter 1 to be array, null given in %s on line %d
231 Warning: sort() expects parameter 1 to be array, null given in %s on line %d
234 Warning: sort() expects parameter 1 to be array, null given in %s on line %d
237 Warning: sort() expects parameter 1 to be array, null given in %s on line %d
240 Warning: sort() expects parameter 1 to be array, null given in %s on line %d
244 Warning: sort() expects parameter 1 to be array, boolean given in %s on line %d
247 Warning: sort() expects parameter 1 to be array, boolean given in %s on line %d
250 Warning: sort() expects parameter 1 to be array, boolean given in %s on line %d
253 Warning: sort() expects parameter 1 to be array, boolean given in %s on line %d
257 Warning: sort() expects parameter 1 to be array, boolean given in %s on line %d
260 Warning: sort() expects parameter 1 to be array, boolean given in %s on line %d
263 Warning: sort() expects parameter 1 to be array, boolean given in %s on line %d
266 Warning: sort() expects parameter 1 to be array, boolean given in %s on line %d
270 Warning: sort() expects parameter 1 to be array, boolean given in %s on line %d
273 Warning: sort() expects parameter 1 to be array, boolean given in %s on line %d
276 Warning: sort() expects parameter 1 to be array, boolean given in %s on line %d
279 Warning: sort() expects parameter 1 to be array, boolean given in %s on line %d
283 Warning: sort() expects parameter 1 to be array, boolean given in %s on line %d
286 Warning: sort() expects parameter 1 to be array, boolean given in %s on line %d
289 Warning: sort() expects parameter 1 to be array, boolean given in %s on line %d
292 Warning: sort() expects parameter 1 to be array, boolean given in %s on line %d
296 Warning: sort() expects parameter 1 to be array, string given in %s on line %d
299 Warning: sort() expects parameter 1 to be array, string given in %s on line %d
302 Warning: sort() expects parameter 1 to be array, string given in %s on line %d
305 Warning: sort() expects parameter 1 to be array, string given in %s on line %d
309 Warning: sort() expects parameter 1 to be array, string given in %s on line %d
312 Warning: sort() expects parameter 1 to be array, string given in %s on line %d
315 Warning: sort() expects parameter 1 to be array, string given in %s on line %d
318 Warning: sort() expects parameter 1 to be array, string given in %s on line %d
322 Warning: sort() expects parameter 1 to be array, string given in %s on line %d
325 Warning: sort() expects parameter 1 to be array, string given in %s on line %d
328 Warning: sort() expects parameter 1 to be array, string given in %s on line %d
331 Warning: sort() expects parameter 1 to be array, string given in %s on line %d
335 Warning: sort() expects parameter 1 to be array, string given in %s on line %d
338 Warning: sort() expects parameter 1 to be array, string given in %s on line %d
341 Warning: sort() expects parameter 1 to be array, string given in %s on line %d
344 Warning: sort() expects parameter 1 to be array, string given in %s on line %d
348 Warning: sort() expects parameter 1 to be array, object given in %s on line %d
351 Warning: sort() expects parameter 1 to be array, object given in %s on line %d
354 Warning: sort() expects parameter 1 to be array, object given in %s on line %d
357 Warning: sort() expects parameter 1 to be array, object given in %s on line %d
361 Warning: sort() expects parameter 1 to be array, string given in %s on line %d
364 Warning: sort() expects parameter 1 to be array, string given in %s on line %d
367 Warning: sort() expects parameter 1 to be array, string given in %s on line %d
370 Warning: sort() expects parameter 1 to be array, string given in %s on line %d
374 Warning: sort() expects parameter 1 to be array, string given in %s on line %d
377 Warning: sort() expects parameter 1 to be array, string given in %s on line %d
380 Warning: sort() expects parameter 1 to be array, string given in %s on line %d
383 Warning: sort() expects parameter 1 to be array, string given in %s on line %d
387 Warning: sort() expects parameter 1 to be array, resource given in %s on line %d
390 Warning: sort() expects parameter 1 to be array, resource given in %s on line %d
393 Warning: sort() expects parameter 1 to be array, resource given in %s on line %d
396 Warning: sort() expects parameter 1 to be array, resource given in %s on line %d