php 求二维数组的差集|比较二维数组的不一样 array_diff

array_diff只针对一维数组有效,对二维数组无效(求出为空或array(0))。 手册写明是:Note: This function only checks one dimension of a n-dimensional array. Of course you can check deeper dimensions by using array_diff($array1[0], $arr
相关文章
相关标签/搜索