Lines Matching refs:ksort
2 Test ksort() function : usage variations - unexpected values for 'array' argument
5 /* Prototype : bool ksort(array &array [, int sort_flags])
11 …* testing ksort() by providing different unexpected values for array argument with following flag …
18 echo "*** Testing ksort() : usage variations ***\n";
74 // loop though each element of the array and check the working of ksort()
76 echo "\n-- Testing ksort() by supplying different unexpected values for 'array' argument --\n";
83 var_dump( ksort($value) ); // expecting : bool(false)
84 var_dump( ksort($value, SORT_REGULAR) ); // expecting : bool(false)
85 var_dump( ksort($value, SORT_NUMERIC) ); // expecting : bool(false)
86 var_dump( ksort($value, SORT_STRING) ); // expecting : bool(false)
93 *** Testing ksort() : usage variations ***
95 -- Testing ksort() by supplying different unexpected values for 'array' argument --
100 Warning: ksort() expects parameter 1 to be array, integer given in %s on line %d
103 Warning: ksort() expects parameter 1 to be array, integer given in %s on line %d
106 Warning: ksort() expects parameter 1 to be array, integer given in %s on line %d
109 Warning: ksort() expects parameter 1 to be array, integer given in %s on line %d
113 Warning: ksort() expects parameter 1 to be array, integer given in %s on line %d
116 Warning: ksort() expects parameter 1 to be array, integer given in %s on line %d
119 Warning: ksort() expects parameter 1 to be array, integer given in %s on line %d
122 Warning: ksort() expects parameter 1 to be array, integer given in %s on line %d
126 Warning: ksort() expects parameter 1 to be array, integer given in %s on line %d
129 Warning: ksort() expects parameter 1 to be array, integer given in %s on line %d
132 Warning: ksort() expects parameter 1 to be array, integer given in %s on line %d
135 Warning: ksort() expects parameter 1 to be array, integer given in %s on line %d
139 Warning: ksort() expects parameter 1 to be array, integer given in %s on line %d
142 Warning: ksort() expects parameter 1 to be array, integer given in %s on line %d
145 Warning: ksort() expects parameter 1 to be array, integer given in %s on line %d
148 Warning: ksort() expects parameter 1 to be array, integer given in %s on line %d
152 Warning: ksort() expects parameter 1 to be array, float given in %s on line %d
155 Warning: ksort() expects parameter 1 to be array, float given in %s on line %d
158 Warning: ksort() expects parameter 1 to be array, float given in %s on line %d
161 Warning: ksort() expects parameter 1 to be array, float given in %s on line %d
165 Warning: ksort() expects parameter 1 to be array, float given in %s on line %d
168 Warning: ksort() expects parameter 1 to be array, float given in %s on line %d
171 Warning: ksort() expects parameter 1 to be array, float given in %s on line %d
174 Warning: ksort() expects parameter 1 to be array, float given in %s on line %d
178 Warning: ksort() expects parameter 1 to be array, float given in %s on line %d
181 Warning: ksort() expects parameter 1 to be array, float given in %s on line %d
184 Warning: ksort() expects parameter 1 to be array, float given in %s on line %d
187 Warning: ksort() expects parameter 1 to be array, float given in %s on line %d
191 Warning: ksort() expects parameter 1 to be array, float given in %s on line %d
194 Warning: ksort() expects parameter 1 to be array, float given in %s on line %d
197 Warning: ksort() expects parameter 1 to be array, float given in %s on line %d
200 Warning: ksort() expects parameter 1 to be array, float given in %s on line %d
204 Warning: ksort() expects parameter 1 to be array, float given in %s on line %d
207 Warning: ksort() expects parameter 1 to be array, float given in %s on line %d
210 Warning: ksort() expects parameter 1 to be array, float given in %s on line %d
213 Warning: ksort() expects parameter 1 to be array, float given in %s on line %d
217 Warning: ksort() expects parameter 1 to be array, null given in %s on line %d
220 Warning: ksort() expects parameter 1 to be array, null given in %s on line %d
223 Warning: ksort() expects parameter 1 to be array, null given in %s on line %d
226 Warning: ksort() expects parameter 1 to be array, null given in %s on line %d
230 Warning: ksort() expects parameter 1 to be array, null given in %s on line %d
233 Warning: ksort() expects parameter 1 to be array, null given in %s on line %d
236 Warning: ksort() expects parameter 1 to be array, null given in %s on line %d
239 Warning: ksort() expects parameter 1 to be array, null given in %s on line %d
243 Warning: ksort() expects parameter 1 to be array, boolean given in %s on line %d
246 Warning: ksort() expects parameter 1 to be array, boolean given in %s on line %d
249 Warning: ksort() expects parameter 1 to be array, boolean given in %s on line %d
252 Warning: ksort() expects parameter 1 to be array, boolean given in %s on line %d
256 Warning: ksort() expects parameter 1 to be array, boolean given in %s on line %d
259 Warning: ksort() expects parameter 1 to be array, boolean given in %s on line %d
262 Warning: ksort() expects parameter 1 to be array, boolean given in %s on line %d
265 Warning: ksort() expects parameter 1 to be array, boolean given in %s on line %d
269 Warning: ksort() expects parameter 1 to be array, boolean given in %s on line %d
272 Warning: ksort() expects parameter 1 to be array, boolean given in %s on line %d
275 Warning: ksort() expects parameter 1 to be array, boolean given in %s on line %d
278 Warning: ksort() expects parameter 1 to be array, boolean given in %s on line %d
282 Warning: ksort() expects parameter 1 to be array, boolean given in %s on line %d
285 Warning: ksort() expects parameter 1 to be array, boolean given in %s on line %d
288 Warning: ksort() expects parameter 1 to be array, boolean given in %s on line %d
291 Warning: ksort() expects parameter 1 to be array, boolean given in %s on line %d
295 Warning: ksort() expects parameter 1 to be array, string given in %s on line %d
298 Warning: ksort() expects parameter 1 to be array, string given in %s on line %d
301 Warning: ksort() expects parameter 1 to be array, string given in %s on line %d
304 Warning: ksort() expects parameter 1 to be array, string given in %s on line %d
308 Warning: ksort() expects parameter 1 to be array, string given in %s on line %d
311 Warning: ksort() expects parameter 1 to be array, string given in %s on line %d
314 Warning: ksort() expects parameter 1 to be array, string given in %s on line %d
317 Warning: ksort() expects parameter 1 to be array, string given in %s on line %d
321 Warning: ksort() expects parameter 1 to be array, string given in %s on line %d
324 Warning: ksort() expects parameter 1 to be array, string given in %s on line %d
327 Warning: ksort() expects parameter 1 to be array, string given in %s on line %d
330 Warning: ksort() expects parameter 1 to be array, string given in %s on line %d
334 Warning: ksort() expects parameter 1 to be array, string given in %s on line %d
337 Warning: ksort() expects parameter 1 to be array, string given in %s on line %d
340 Warning: ksort() expects parameter 1 to be array, string given in %s on line %d
343 Warning: ksort() expects parameter 1 to be array, string given in %s on line %d
347 Warning: ksort() expects parameter 1 to be array, object given in %s on line %d
350 Warning: ksort() expects parameter 1 to be array, object given in %s on line %d
353 Warning: ksort() expects parameter 1 to be array, object given in %s on line %d
356 Warning: ksort() expects parameter 1 to be array, object given in %s on line %d
360 Warning: ksort() expects parameter 1 to be array, string given in %s on line %d
363 Warning: ksort() expects parameter 1 to be array, string given in %s on line %d
366 Warning: ksort() expects parameter 1 to be array, string given in %s on line %d
369 Warning: ksort() expects parameter 1 to be array, string given in %s on line %d
373 Warning: ksort() expects parameter 1 to be array, string given in %s on line %d
376 Warning: ksort() expects parameter 1 to be array, string given in %s on line %d
379 Warning: ksort() expects parameter 1 to be array, string given in %s on line %d
382 Warning: ksort() expects parameter 1 to be array, string given in %s on line %d
386 Warning: ksort() expects parameter 1 to be array, resource given in %s on line %d
389 Warning: ksort() expects parameter 1 to be array, resource given in %s on line %d
392 Warning: ksort() expects parameter 1 to be array, resource given in %s on line %d
395 Warning: ksort() expects parameter 1 to be array, resource given in %s on line %d