我有一个像bellow
这样的数组值$arr=array('01','02','03','04','05','06','07','08','09','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30','31','32','33','34','35','36','37','38');
我希望从这个数组获得所有不同的值 前
$data=array(
array('05','01',04,06,09,02),array('07','01',04,06,09,02)........
)
并且所有数组值都不能重复
more example
$arr=array(1,2,3,4,5);
result with 2 array value
$result=array(
array(1,2),array(2,3),array(1,3),array(3,4),array(1,4),array(2,4),array(4,5),array(2,5),array(3,5),array(1,5)
)