array_intersect_assoc — 带索引检查计算数组的交集
array_intersect_assoc — 带索引检查计算数组的交集
说明
array_intersect_assoc ( array
$array1 , array $array2 [, array $... ] ) : arrayarray_intersect_assoc() 返回一个数组,该数组包含了所有在 array1 中也同时出现在所有其它参数数组中的值。注意和 array_intersect() 不同的是键名也用于比较。国旗迷
参数
array1-
要检查的主值。
array2-
要比较的数组。
...-
要对比的数组变量的列表。
返回值
返回数组,该数组包含了所有在 array1 中也同时出现在所有其它参数数组中的值。
浙公网安备 33010602011771号