[PHP-DEV] Re: [PHP-QA] convention about function naming II From: Hartmut Holzgraefe (hartmut <email protected>)
Date: 12/18/00

eschmid+sic <email protected> wrote:
> > 2) unconventional function naming caught:
> >
> > a) ctype - already mentioned in README that the author (Harmut) does not
> > know if adding a prefix or using C-Names is preferable, I think both are
> > valid
>
> I know Hartmut very well. It seems he is knowing himself what he is doing.

ctype is an execption in that it provides some functions that are
in very common use in C so that they might perhpas deserve to keep
their names that we are all used to,

but on the other hand they do collide with the variable information
functions like isset() or is_string()

so i did want to rename theese to ctype_*() but didn't make it in time
before the 4.0.4RCs where rolled out, so it's C-ish style for now

but both the README and the EXPERIMENTAL files in ext/ctype say that
changes may still happen, so it's not finally decided yet ...
(thats what the EXPERIMENTAL files are for anyway ...)

-- 
Hartmut Holzgraefe  hartmut <email protected>  http://www.six.de  +49-711-99091-77

-- 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>