PHP Source:
<
!DOCTYPE
html
>
<
html
>
<
body
>
<?php
function
myfunction($value,$key,$p)
{
echo
"$key $p $value<br>"
;
}
$a=
array
(
"a"
=>
"red"
,
"b"
=>
"green"
,
"c"
=>
"blue"
);
array_walk($a,
"myfunction"
,
"has the value"
);
?>
<
/body
>
<
/html
>
Result:
Privacy Policy