--TEST-- Test sort() function : usage variations - sort boolean values --FILE-- --EXPECT-- *** Testing sort() : usage variations *** -- Testing sort() by supplying bool value array, 'flag' value is defualt -- bool(true) array(4) { [0]=> bool(false) [1]=> bool(false) [2]=> bool(true) [3]=> bool(true) } -- Testing sort() by supplying bool value array, 'flag' value is SORT_REGULAR -- bool(true) array(4) { [0]=> bool(false) [1]=> bool(false) [2]=> bool(true) [3]=> bool(true) } -- Testing sort() by supplying bool value array, 'flag' value is SORT_NUMERIC -- bool(true) array(4) { [0]=> bool(false) [1]=> bool(false) [2]=> bool(true) [3]=> bool(true) } -- Testing sort() by supplying bool value array, 'flag' value is SORT_STRING -- bool(true) array(4) { [0]=> bool(false) [1]=> bool(false) [2]=> bool(true) [3]=> bool(true) } Done