count_chars « String « PHP






1.count_chars.php
2.mixed count_chars ( string str [, int mode] ) returns an array containing the letters used in that string and how many times each letter was used.