Skip to content

Instantly share code, notes, and snippets.

@ruliarmando
Created May 15, 2013 09:59
Show Gist options
  • Save ruliarmando/5582899 to your computer and use it in GitHub Desktop.
Save ruliarmando/5582899 to your computer and use it in GitHub Desktop.
<?=$s=trim('Hello World');for(;$c=$s[$i++];printf("%$l.s".$s[-$i+$l=strlen($s)],$c))?><?=strrev($s);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment