X by php

<?for($i=$a=+fgets(STDIN);$i;)echo strtoupper(str_pad("x",$i--," ",0)|str_pad("x",$a-$i," ",0)),"
";

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

download

return to the top page