- reset: documentation ( source)
<?php
$sql = array("inUserID" => "lemon", "inCustID" => "orange", "btAll" => "banana", "btPermPref" => "apple", "inDisplay"=>"toast");
function pram_alter($array, $key)
{
//echo implode(',', each($array));
reset($sql);
while (list($key, $val) = each($sql)) {
echo "$key => $val\n";
}
}
$temp=array(pram_alter($sql, 'pram_alter'));
?>