- array_walk: documentation ( source)
<?php
$fruits = array("inUserID" => "lemon", "inCustID" => "orange", "btAll" => "banana", "btPermPref" => "apple", "inDisplay"=>"toast");
function pram_alter($array, $key)
{
echo "@$key = .'$array'. ,\n";
}
array_walk($fruits, 'pram_alter');
?>