Counts the number of occurrences of every byte-value (0..255) in string and returns it in various ways.
count_chars — Return information about characters used in a string
count_chars ( string $string [, int $mode = 0 ] ) : mixed