Re: Re: ctype function (re?)naming
| From: | Zak Greant | Date: | Mon, 26 Feb 2001 17:26:50 +0000 |
| Subject: | Re: Re: ctype function (re?)naming | ||
| References: | 1 | Groups: | php.dev php.qa |
| Request: | Send a blank email to php-dev+get-47571@lists.php.net to get a copy of this message | ||
Stanislav Malyshev wrote:
> JM>> This is not in line with the other is_* functions. To keep in line
with
>
> If you mean ctype functions, I agree - they all should be is*. If you mean
> is_integer type functions - so what? It's not in line also with
> mysql_num_rows function, so? That's just functions from different area,
> and the fact that accidentally they start from the same two letters does
> not change much.
I agree. The ctype functions are wrappers for the isalnum, isalpha, etc ...
C functions. Even though the functions may look like they should be of the
ctype_is_xxx() format, they should probably be of the ctype_isalpha()
format.
--zak