Re: [PHP4BETA] New function chrcount
| From: | Peter Kovacs | Date: | Mon, 24 Apr 2000 20:43:14 +0000 |
| Subject: | Re: [PHP4BETA] New function chrcount | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-14000@lists.php.net to get a copy of this message | ||
On Mon, 24 Apr 2000, Andrei Zmievski wrote:
> On Mon, 24 Apr 2000, Andi Gutmans wrote:
> > At 04:27 PM 4/24/00 -0500, chagenbu@wso.williams.edu wrote:
> > >Quoting Peter Kovacs <kovacsp@knowpost.com>:
> > >
> > > > I like the str_chr_freq suggestion, any objections to that?
> > >
> > >What about char_freq()? Slightly shorter...
> >
> > 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.
Very true, however char_count is too similar to count_chars which is what
brought on this whole debate to begin with.
--------------------------------------------------
Peter D. Kovacs KnowPost.com LLC
Lead Engineer peter@knowpost.com
--------------------------------------------------