<?foreach(str_split(file_get_contents('php://stdin')) as $b){echo$f==1?ctype_upper($b)?strtolower($b):strtoupper($b):$b;$f=ctype_upper($b)?1:0;}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page