box world by vos

<?$s=trim(fgets(STDIN));$l=strlen($s)-1;echo$s.$s[0].~\xf5;for(;$i<$l;$i++)echo$s[$l-$i].str_pad("",$l).$s[$i+1].~\xf5;echo$s[0].strrev($s);

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page