title: How to substr array in php?
body: <p>I have array, I want to make selection in it, but before do selection<br>
  I want to take 2 numbers in front of each values in array:</p>
  
  <pre><code>$myarray[2] = array(62343,62444,62343,08453,62333);
  </code></pre>
  
  <p>I want something like this:</p>
  
  <pre><code>$arraysubstr = substr($myarray[2],0,2)
  if(($arraysubstr) &lt; 62) //not work (work for first array value) 
  {
      redirect
  }else{
      no problem
  }
  </code></pre>
  
  <p>I thank all those who want to comment </p>