--TEST-- Test ksort() function : usage variations - unexpected values for 'array' argument --FILE-- --EXPECTF-- *** Testing ksort() : usage variations *** -- Testing ksort() by supplying different unexpected values for 'array' argument -- -- Flag values are defualt, SORT_REGULAR, SORT_NUMERIC, SORT_STRING -- -- Iteration 1 -- Warning: ksort() expects parameter 1 to be array, integer given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, integer given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, integer given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, integer given in %s on line %d bool(false) -- Iteration 2 -- Warning: ksort() expects parameter 1 to be array, integer given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, integer given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, integer given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, integer given in %s on line %d bool(false) -- Iteration 3 -- Warning: ksort() expects parameter 1 to be array, integer given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, integer given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, integer given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, integer given in %s on line %d bool(false) -- Iteration 4 -- Warning: ksort() expects parameter 1 to be array, integer given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, integer given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, integer given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, integer given in %s on line %d bool(false) -- Iteration 5 -- Warning: ksort() expects parameter 1 to be array, float given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, float given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, float given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, float given in %s on line %d bool(false) -- Iteration 6 -- Warning: ksort() expects parameter 1 to be array, float given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, float given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, float given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, float given in %s on line %d bool(false) -- Iteration 7 -- Warning: ksort() expects parameter 1 to be array, float given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, float given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, float given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, float given in %s on line %d bool(false) -- Iteration 8 -- Warning: ksort() expects parameter 1 to be array, float given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, float given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, float given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, float given in %s on line %d bool(false) -- Iteration 9 -- Warning: ksort() expects parameter 1 to be array, float given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, float given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, float given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, float given in %s on line %d bool(false) -- Iteration 10 -- Warning: ksort() expects parameter 1 to be array, null given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, null given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, null given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, null given in %s on line %d bool(false) -- Iteration 11 -- Warning: ksort() expects parameter 1 to be array, null given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, null given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, null given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, null given in %s on line %d bool(false) -- Iteration 12 -- Warning: ksort() expects parameter 1 to be array, boolean given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, boolean given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, boolean given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, boolean given in %s on line %d bool(false) -- Iteration 13 -- Warning: ksort() expects parameter 1 to be array, boolean given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, boolean given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, boolean given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, boolean given in %s on line %d bool(false) -- Iteration 14 -- Warning: ksort() expects parameter 1 to be array, boolean given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, boolean given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, boolean given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, boolean given in %s on line %d bool(false) -- Iteration 15 -- Warning: ksort() expects parameter 1 to be array, boolean given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, boolean given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, boolean given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, boolean given in %s on line %d bool(false) -- Iteration 16 -- Warning: ksort() expects parameter 1 to be array, string given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, string given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, string given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, string given in %s on line %d bool(false) -- Iteration 17 -- Warning: ksort() expects parameter 1 to be array, string given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, string given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, string given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, string given in %s on line %d bool(false) -- Iteration 18 -- Warning: ksort() expects parameter 1 to be array, string given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, string given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, string given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, string given in %s on line %d bool(false) -- Iteration 19 -- Warning: ksort() expects parameter 1 to be array, string given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, string given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, string given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, string given in %s on line %d bool(false) -- Iteration 20 -- Warning: ksort() expects parameter 1 to be array, object given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, object given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, object given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, object given in %s on line %d bool(false) -- Iteration 21 -- Warning: ksort() expects parameter 1 to be array, string given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, string given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, string given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, string given in %s on line %d bool(false) -- Iteration 22 -- Warning: ksort() expects parameter 1 to be array, string given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, string given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, string given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, string given in %s on line %d bool(false) -- Iteration 23 -- Warning: ksort() expects parameter 1 to be array, resource given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, resource given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, resource given in %s on line %d bool(false) Warning: ksort() expects parameter 1 to be array, resource given in %s on line %d bool(false) Done