--TEST-- Test sort() function : usage variations - sort hexadecimal values --FILE-- --EXPECT-- *** Testing sort() : usage variations *** -- Testing sort() by supplying hexadecimal value array, 'flag' value is defualt -- bool(true) array(11) { [0]=> int(-682) [1]=> int(-255) [2]=> int(0) [3]=> int(15) [4]=> int(187) [5]=> int(255) [6]=> int(255) [7]=> int(427) [8]=> int(427) [9]=> int(682) [10]=> int(4095) } -- Testing sort() by supplying hexadecimal value array, 'flag' value is SORT_REGULAR -- bool(true) array(11) { [0]=> int(-682) [1]=> int(-255) [2]=> int(0) [3]=> int(15) [4]=> int(187) [5]=> int(255) [6]=> int(255) [7]=> int(427) [8]=> int(427) [9]=> int(682) [10]=> int(4095) } -- Testing sort() by supplying hexadecimal value array, 'flag' value is SORT_NUMERIC -- bool(true) array(11) { [0]=> int(-682) [1]=> int(-255) [2]=> int(0) [3]=> int(15) [4]=> int(187) [5]=> int(255) [6]=> int(255) [7]=> int(427) [8]=> int(427) [9]=> int(682) [10]=> int(4095) } Done