Hi,
people fail to understand the reason why to "bloat" PHP with
just another function which is really just a call to another
function (e.g. preg_*() in PHP.
As for parsing an ini file, this is certainly not true.
Anyway. There were some discussions lately to implement
something like word_count() and similar friends. Though I
don't remember what has happened, you might want to look it
up in the archive an join the discussion (It was just a week
ago or so I think).
- Markus
On Wed, Apr 24, 2002 at 10:03:48PM -0700, Nikolai Devereaux wrote :
>
> > Here I'm asking myself: what function would be easier for user to
> > create: counting spaces in a string or parsing the .ini file or touch
> > and chown?
>
> Parsing an INI file isn't difficult. It requires the same amount of
> knowledge to do as counting spaces or lines, albeit with a bunch more
> typing.
>
> I'm sorry if it sounds like I am whining, but I haven't heard any good
> reasons as to WHY word_count or line_count functions are NOT built in. All
> I've heard is "Well, you can do it like this" or "You can do it like that".
>
> I know that. I wouldn't have posted some alternatives in my first post if I
> wanted people to tell me that it's possible to do otherwise.
>
> If it's so easy to implement in PHP, it shouldn't be that hard to implement
> in C either, should it?
>
>
> Take care,
>
> Nik
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
--
Please always Cc to me when replying to me on the lists.
GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
"Mind if I MFH ?" "What QA did you do on it?" "the usual?" "ah... none :)"
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php