php foreach reverse
snippet in php

php foreach reverse

user5942

foreach(array_reverse($array) as $var) {
	echo $var // Will show in reversed order
}