title: Remove empty arrays with empty values
body: <p>Right to the point. I have a form that submits a multidimensional array of values. Usually it gets something like this.</p>
  
  <pre><code>[0] =&gt; Array
      (
          [socialClass] =&gt; Myclass
          [socialLink] =&gt; http://...
          [socialName] =&gt; Name
      )
  
  [1] =&gt; Array
      (
          [socialClass] =&gt; 
          [socialLink] =&gt; MyClass
          [socialName] =&gt; Name
      )
  
  [2] =&gt; Array
      (
          [socialClass] =&gt; 
          [socialLink] =&gt; 
          [socialName] =&gt; 
      )
  </code></pre>
  
  <p>The idea es to remove incomplete arrays from the tree, like <code>[1]</code> and <code>[2]</code>, so i would return like this after the <em>filter</em>.</p>
  
  <pre><code>[0] =&gt; Array
      (
          [socialClass] =&gt; Class
          [socialLink] =&gt; http://...
          [socialName] =&gt; Name
      )
  </code></pre>
  
  <p><code>array_filter</code> doesn't work in this case, and other "recursive" custom made functions either. How can I do it?</p>