Current File : //opt/RZphp5/includes/test/PHP_Compat/tests/function/array_intersect_uassoc.phpt
--TEST--
Function -- array_intersect_uassoc
--SKIPIF--
<?php if (function_exists('array_intersect_uassoc')) { echo 'skip'; } ?>
--FILE--
<?php
require_once 'PHP/Compat.php';
PHP_Compat::loadFunction('array_intersect_uassoc');

$array1 = array("a" => "green", "b" => "brown", "c" => "blue", "red");
$array2 = array("a" => "GREEN", "B" => "brown", "yellow", "red");

print_r(array_intersect_uassoc($array1, $array2, "strcasecmp"));

?>
--EXPECT--
Array
(
    [b] => brown
)