/usr/share/php/tests/PHP_Compat/tests/function/array_uintersect_assoc.phpt is in php-compat 1.6.0a3-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | --TEST--
Function -- array_uintersect_assoc
--FILE--
<?php
require_once 'PHP/Compat/Function/array_uintersect_assoc.php';
$array1 = array('a' => 'green', 'b' => 'brown', 'c' => 'blue', 'red');
$array2 = array('a' => 'GREEN', 'B' => 'brown', 'yellow', 'red');
print_r(php_compat_array_uintersect_assoc($array1, $array2, 'strcasecmp'));
?>
--EXPECT--
Array
(
[a] => green
)
|