array_intersect_uassoc($a,$b,'strcasecmp')键名键值都相等

1,'b'=>1,'c'=>2);
$b = array('a'=>1,2,3);
print_r(array_intersect_uassoc($a,$b,'strcasecmp'));
Array
(
    [a] => 1
)

你可能感兴趣的:(array_intersect_uassoc($a,$b,'strcasecmp')键名键值都相等)