<?$a=fread(STDIN,1e5);foreach(range(A,z)as$s)($c=substr_count($a,$s))&&printf("$s:%3d\x0d ",$c);
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page