How from this array I can make an average ?
$array=Array
(
    "Element_1" => 255,
    "Element_2" => 95,
    "Element_3" => 100
);
I should get 150.
Use below code :
Code:
<?php
$array=Array
(
    "Element_1" => 255,
    "Element_2" => 95,
    "Element_3" => 100
);
echo $average = array_sum($array) / count($array);
Output:
150
Demo: Click Here