<?php$a = [1,2,3];$l = count($a);for($i = $l-1; $i>=0; $i--) echo $a[$i];
Standard input is empty
321
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!