title: Filter php array by column value
body: <p>I want to filter out the array with status=paid, is there any builtin PHP function for this?</p>
  
  <pre><code>Array
  (
  
  [0] =&gt; Array
          (
  
              [id] =&gt; 140
              [status] =&gt; paid
  
          )
  
  [1] =&gt; Array
          (
  
              [id] =&gt; 140
              [status] =&gt; new
  
          )
  [2] =&gt; Array
          (
  
              [id] =&gt; 140
              [status] =&gt; new
  
          )
  )
  </code></pre>