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_walk_recursive.phpt |
--TEST--
Function -- array_walk_recursive
--FILE--
<?php
require_once 'PHP/Compat/Function/array_walk_recursive.php';
$sweet = array('a' => 'apple', 'b' => 'banana');
$fruits = array('sweet' => $sweet, 'sour' => 'lemon');
function test_print($item, $key, $userdata)
{
echo "$key holds $item $userdata\n";
}
php_compat_array_walk_recursive($fruits, 'test_print', 'hi');
function test_reference(&$item, $key)
{
$item = 'hi';
}
php_compat_array_walk_recursive($fruits, 'test_reference');
echo $fruits['sweet']['a'], "\n"; // hi
?>
--EXPECT--
a holds apple hi
b holds banana hi
sour holds lemon hi
hi
y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`