php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay

| files >> /var/www/html/outlet/pusat/images/customer/php1/tests/function/ |
| files >> //var/www/html/outlet/pusat/images/customer/php1/tests/function/array_intersect_ukey.phpt |
--TEST--
Function -- array_intersect_ukey
--FILE--
<?php
require_once 'PHP/Compat/Function/array_intersect_ukey.php';
function key_compare_func($key1, $key2)
{
if ($key1 == $key2) {
return 0;
} elseif ($key1 > $key2) {
return 1;
} else {
return -1;
}
}
$array1 = array('blue' => 1, 'red' => 2, 'green' => 3, 'purple' => 4);
$array2 = array('green' => 5, 'blue' => 6, 'yellow' => 7, 'cyan' => 8);
print_r(php_compat_array_intersect_ukey($array1, $array2, 'key_compare_func'));
?>
--EXPECT--
Array
(
[blue] => 1
[green] => 3
)
y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`