PHP 数组函数 array_uintersect_assoc()
PHP 数组函数 array_uintersect_assoc()
<?php
$input1 = array("a"=>"green", "b"=>"brown", "c"=>"blue", "red");
$input2 = array("a"=>"GREEN", "B"=>"brown", "yellow", "red");
print_r(array_uintersect_assoc($input1, $input2, "strcasecmp"));
?>