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