1--TEST-- 2Test array_multisort() function : usage variation - testing with multiple array arguments 3--FILE-- 4<?php 5echo "*** Testing array_multisort() : Testing all array sort specifiers ***\n"; 6 7$ar = array( 2, "aa" , "1"); 8 9array_multisort($ar, SORT_REGULAR, SORT_ASC); 10var_dump($ar); 11 12array_multisort($ar, SORT_STRING, SORT_ASC); 13var_dump($ar); 14 15array_multisort($ar, SORT_NUMERIC, SORT_ASC); 16var_dump($ar); 17 18 19?> 20--EXPECT-- 21*** Testing array_multisort() : Testing all array sort specifiers *** 22array(3) { 23 [0]=> 24 string(1) "1" 25 [1]=> 26 int(2) 27 [2]=> 28 string(2) "aa" 29} 30array(3) { 31 [0]=> 32 string(1) "1" 33 [1]=> 34 int(2) 35 [2]=> 36 string(2) "aa" 37} 38array(3) { 39 [0]=> 40 string(2) "aa" 41 [1]=> 42 string(1) "1" 43 [2]=> 44 int(2) 45} 46