Terug Tellende для петли PHP

<?php
// a array
$weekday = array("Monday","Tuesday","Wednesday","Thursday","Friday","Saturday", "Sunday");
// the for loop
for($i = 6; $i >= 0; $i = $i -1){ 
    print ( "$weekday[$i]<br>" );
}
?>
Energetic coder