title: How to find average from array in php?
body: <p>Example:</p>
  
  <pre><code>$a[] = '56';
  $a[] = '66';
  $a[] = '';
  $a[] = '58';
  $a[] = '85';
  $a[] = '';
  $a[] = '';
  $a[] = '76';
  $a[] = '';
  $a[] = '57';
  </code></pre>
  
  <p>Actually how to find average value from this array excluding empty. please help to resolve this problem.</p>