title: Iterate in reverse through an array with PHP - SPL solution?
body: <p>Is there an SPL Reverse array iterator in PHP?
  And if not, what would be the best way to achieve it?</p>
  
  <p>I could simply do</p>
  
  <pre><code>$array = array_reverse($array);
  foreach($array as $currentElement) {}
  </code></pre>
  
  <p>or</p>
  
  <pre><code>for($i = count($array) - 1; $i &gt;= 0; $i--)
  {
  
  }
  </code></pre>
  
  <p>But is there a more elegant way?</p>