php4-beta | 200004
Date: 04/24/00
- Next message: Andrei Zmievski: "Re: [PHP4BETA] New function chrcount"
- Previous message: Joey: "Re: [PHP4BETA] Re: [PHP-DEV] strchr()"
- In reply to: Andi Gutmans: "Re: [PHP4BETA] New function chrcount"
- Next in thread: Andrei Zmievski: "Re: [PHP4BETA] New function chrcount"
- Reply: Andrei Zmievski: "Re: [PHP4BETA] New function chrcount"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Okay, I have it counting non-overlapping substrings. Making it count
overlapping substrings turned out to be really trivial, so we could make
it an optional behavior. But as was mentioned before, that's probably not
very useful.
I've named it str_count, but whoever commits it gets the final say I
guess. :)
Peter
On Tue, 25 Apr 2000, Andi Gutmans wrote:
> At 04:18 PM 4/24/00 -0500, Andrei Zmievski wrote:
> >On Tue, 25 Apr 2000, Andi Gutmans wrote:
> > > How about str_occurences()
> >
> >That's too long and prone to typos.
>
> I prefer longer function names over function names which I'm not sure what
> they do according to their name. Personally I can't tell from the name
> str_count() what it does.
> Maybe my suggestion wasn't good but I prefer something which is easier to
> understand.
> Andi
> ---
> Andi Gutmans <andi <email protected>>
> http://www.zend.com/
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: php4beta-unsubscribe <email protected>
> For additional commands, e-mail: php4beta-help <email protected>
> To contact the list administrators, e-mail: php4beta-admin <email protected>
>
>
--------------------------------------------------
Peter D. Kovacs KnowPost.com LLC
Lead Engineer peter <email protected>
--------------------------------------------------
- TEXT/PLAIN attachment: chrcount.diff
-- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe <email protected> For additional commands, e-mail: php4beta-help <email protected> To contact the list administrators, e-mail: php4beta-admin <email protected>
- Next message: Andrei Zmievski: "Re: [PHP4BETA] New function chrcount"
- Previous message: Joey: "Re: [PHP4BETA] Re: [PHP-DEV] strchr()"
- In reply to: Andi Gutmans: "Re: [PHP4BETA] New function chrcount"
- Next in thread: Andrei Zmievski: "Re: [PHP4BETA] New function chrcount"
- Reply: Andrei Zmievski: "Re: [PHP4BETA] New function chrcount"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

