Some time ago during a job interview I got the task to reverse a string in PHP without using strrev.
strrev
My first solution was something like this:
=0 ;$i--){ echo $value[$i]; } ?>