count_chars

(PHP4 >= 4.0b4)

count_chars --  Return information abouts characters used in a string

Description

mixed count_chars (string string [, mode])

Counts the number of occurances of every byte-value (0..255) in string and returns it in various ways. The optional parameter Mode default to 0. Depending on mode count_chars() returns one of the following:

Note: This function was added in PHP 4.0.


Hosted by Tonec Inc.