[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] ctype function (re?)naming From: Zak Greant (zak <email protected>)
Date: 02/26/01

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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>