I'm using the function to determine if a posted variable is
"callable". This is usefull when checking if posted variable
names exist within a
class.
while(list($key,$value)=each($HTTP_POST_VARS))
{
$tmpVar = 'return isset($' . 'this->' . $key . ');';
if(is_callable($key) && eval($tmpVar) && trim($value) !=
"")
{
$tmpSet = '$this->set' . ucfirst($key) .
"('" . $value . "');";
eval($tmpSet);
}
}