Re: [PHP4BETA] New function chrcount
| From: | Andi Gutmans | Date: | Mon, 24 Apr 2000 20:45:17 +0000 |
| Subject: | Re: [PHP4BETA] New function chrcount | ||
| References: | 1 2 3 4 5 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-14002@lists.php.net to get a copy of this message | ||
At 03:40 PM 4/24/00 -0500, Andrei Zmievski wrote:
On Mon, 24 Apr 2000, Andi Gutmans wrote: At 04:27 PM 4/24/00 -0500, chagenbu@wso.williams.edu wrote:How about "How often does the character ("something") occur per an instance of the string ("something else")." Anyway, it's not like I'm hooked on it. I just didn't like the str_chr_freq() and the count_char() vs. count_chars() one. Andi --- Andi Gutmans <andi@zend.com> http://www.zend.com/Quoting Peter Kovacs <kovacsp@knowpost.com>:I like that better than the str_chr_freq() one. Except that 'frequency' is incorrect here. Frequency means how often something occurs per an instance of something else. This is just a simple count.I like the str_chr_freq suggestion, any objections to that?What about char_freq()? Slightly shorter...