title: php filter empty array
body: <p>How to remove empty data from an array?</p>
  
  <pre><code>var_dump($array);
  
  array(1)  
    {    [0]=&gt;     
      array(4) 
      { 
       [0]=&gt; string(0) "" 
       [1]=&gt; string(3) "car" 
       [2]=&gt; string(4) "bike"
       [3]=&gt; string(1) " " 
      }   
    }
  </code></pre>
  
  <p>I add <code>array_filter($array);</code> nothing removed. so how to remove <code>""</code> and <code>" "</code> or if have more empty <code>space</code> in the array?</p>