title: min and max value from php array
body: <pre><code>$array = [0,1,2,3,4,5,6];
  $min = min($array);
  $max= max($array);  
  </code></pre>
  
  <ul>
  <li>I want min as 1 and max as 6 i don't want to consider 0 as min with
  php array.</li>
  </ul>