php 把数组按条件分成不同的数组答:arr1 = array("In/4833895_0001.jpg","In/4834113_0002.jpg","Out/4834223_0001.jpg","In/4834301_0003.jpg","Out/4834442_0002.jpg","In/4834520_0004.jpg","Out/4834598_0003.jpg","In/4834723_0005.jpg","Out/4834817_0004.jpg","In/4834863_0006.jpg","Out/4835004_0005.jpg","I...
php中有没有把数组里的数字按从小到大排序的功能答:arr = array(1,2,3,5,6,7,8,9,10,11,12);array_push($arr, 4);sort($arr);这样就可以了