0
我有兩個數組在PHP比較和打印,如果兩個數組都是相同的出來放,但可以以任何方式
即
$array1=array('a','p','p','l','e');
$array2=array('p','a','e','l');
--- This must return as success because all of the letters in array1 is there in array2
$array1=array('a','p','p','l','e','s');
$array2=array('p','a','e','l');
-- This must return false
$array1=array('a','p','p','l','e','s');
$array1=array('a','p','p','l','e','s');
-- This must return true
訂購元件0
請幫
如何使用搜索? http://stackoverflow.com/questions/901815/php-compare-array – 2012-04-25 10:30:04