Re: [PHP4BETA] New function chrcount
| From: | John Steele | Date: | Mon, 24 Apr 2000 12:52:19 +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-14005@lists.php.net to get a copy of this message | ||
At 4/24/2000 03:40 PM, you 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.
>
>-Andrei
I agree. I liked str_count() myself.
John
--
/* SteeleSoft Consulting John Steele - Systems Analyst/Programmer
* We also walk dogs... jsteele@writeme.com
* http://www.gamecomputer.com/ssc/
*/