RE: [PHP-DEV] feature request
| From: | Nikolai Devereaux | Date: | Thu, 25 Apr 2002 05:03:48 +0000 |
| Subject: | RE: [PHP-DEV] feature request | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-83294@lists.php.net to get a copy of this message | ||
> 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