Please answer this simple SPAM challenge: one plus four? (Example: nine)
Simple function to calculate average value using dynamic arguments:<?phpfunction average(){ return array_sum(func_get_args())/func_num_args();}print average(10, 15, 20, 25); // 17.5?>
<< Back to user notes page