Toggle navigation
Home
Latest pastes
FAQ
Random
Register
Login
With a parameter:
SUBMITTED BY:
henry1874w
DATE:
June 26, 2017, 5:03 p.m.
FORMAT:
Text only
SIZE:
174 Bytes
Raw
Download
Tweet
HITS:
223
Go to comments
Report
<?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");
?>
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus