Stores the most valuable pieces of PHP code you can reuse in different projects many times
echo average(9,10,10,3,5); // 7.4 out of 10
function average() { $average = 0; for ($i=0;$i<func_num_args();$i++) { $average += func_get_arg($i); } $average = $average/$i; return $average; }