title: Remove all values => 0 from array and reverse it
body: <p>I am a PHP beginner and have the following problem that I completely get stuck. I have an array in this format</p>
  
  <pre><code>Array (
    [date] =&gt; 0
    [author] =&gt; 1
    [categories] =&gt; 1
    [tags] =&gt; 0
    [comments] =&gt; 0
    [readmore] =&gt; 0
  )
  </code></pre>
  
  <p>Now I need to remove all items that are <code>[value] =&gt; 0</code> from that array and get it in this format</p>
  
  <pre><code>Array (
    [0] =&gt; author
    [1] =&gt; categories
  )
  </code></pre>
  
  <p>Any input in this is much appreciated.</p>