PHP: foreach - reverse 1 iteration
<p>Let's say I've a code:</p>

<pre><code>foreach($array as $key =&gt; $value)
{
    //do something
    if($var === true) //"reverse"
}
</code></pre>

<p>is it possible to "reverse" foreach, so it'll "run" with the same array's element it was "running" when called to "get back" ;)?</p>
