title: PHP : How can I Match 0 and 000 (both different value) from the array
body: <p>I am working small application. In this app I want to check the value in array which is available or not.</p>
  
  <p>For example :</p>
  
  <pre><code>$array  = ['777',   '444',  '111',  '888',  '555',   '222',  '999',  '666',  '333',  '000']
  </code></pre>
  
  <p>If I want to check value which is available in array, I simply used <code>in_array</code> function &amp; it returns <code>true</code> if value is available in array.</p>
  
  <p>But here 0 and 000 both are different value.So I am not able to differentiate 0 and 000 value, If I search 0 it returns true which is not correct for this application.</p>
  
  <p>How can I do this ?</p>