php mendapatkan rata -rata array

$myArray=[1,5,4,3];
$average = array_sum($myArray)/count($myArray);
Friendly Hawk