PHP obtiene un promedio de matriz
$myArray=[1,5,4,3];
$average = array_sum($myArray)/count($myArray);
Friendly Hawk
$myArray=[1,5,4,3];
$average = array_sum($myArray)/count($myArray);