title: How to check if array contains a substring php
body: <p>I have an array of arrays as such below and I want to check if the [avs_id] contains a substring "a_b_c". How to do this in php?</p>
  
  <pre><code>  Array
              (
                  [id] =&gt; 10003    
                  [avs_id] =&gt; a_b_c_3248
              )
  
      Array
          (
              [id] =&gt; 10003    
              [avs_id] =&gt; d_e_f_3248
          )
  </code></pre>