function addNums() {
$ret = "";
for ($x=0; $x $arg = func_get_arg ($x);
$result += $arg;
$ret .= "number ". ($x+1).": $arg ";
}
$ret .= "result: $result ";
$ret .= "
";
return $ret;
}
print addNums (49, 60, 44, 22, 55);
?>