Skip to main content
1 of 6
Kevin Brown-Silva
  • 6.5k
  • 5
  • 43
  • 59

PHP, 82 characters

If only PHP wasn't as verbose and had a few more shortcuts...
<? echo implode(array_reverse(array_map("strrev",explode(fgets(STDIN),"\n"))),"\n"); 

I'm sure there is another way to do this in PHP, but this was the shortest I could think of.

Kevin Brown-Silva
  • 6.5k
  • 5
  • 43
  • 59