camelCase by

<?echo preg_replace("#([A-Z]+|[a-z]+)((?<=[a-z])[A-Z]|(?<=[A-Z])[a-z]|)#e","strtolower('$1').ucfirst('$2')",fread(STDIN,1e3));\x0d
//DfsdafasdfasSAKL

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

download

return to the top page