<? function mean() { $sum = 0; $size = func_num_args(); for ($i = 0; $i < $size; $i++) { $sum += func_get_arg($i); } $average = $sum / $size; return $average; } $mean = mean(96, 93, 97); ?>