Re: Re: ctype function (re?)naming

From: Date: Wed, 07 Mar 2001 03:05:13 +0000
Subject: Re: Re: ctype function (re?)naming
References: 1 2 3 4 5  Groups: php.dev php.qa 
Request: Send a blank email to php-dev+get-48123@lists.php.net to get a copy of this message
Overall I think this is very good. I have a few problems with it (all prefixed with a large IMHO :)...
agreeing in anything sterling mentioned, except and in addition this:
GETTEXT bindtextdomain dcgettext dgettext gettext textdomain
is there any reason not to change them?
IISFUNC (Not in manual yet) iis_addserver -> iis_add_server iis_getdirsecurity -> iis_get_dir_security iis_getscriptmap -> iis_get_script_map iis_getserverbycomment -> iis_get_server_by_comment iis_getserverbypath -> iis_get_server_by_path iis_getserverright -> iis_get_server_right iis_getservicestate -> iis_get_service_state iis_removeserver -> iis_remove_server iis_setappsettings -> iis_set_app_settings iis_setdirsecurity -> iis_set_dir_security iis_setscriptmap -> iis_set_script_map iis_setserverright -> iis_set_server_right iis_startserver -> iis_start_server iis_startservice -> iis_start_service iis_stopserver -> iis_stop_server iis_stopservice -> iis_stop_service
hrrm. these names seem long, perhaps we can shorten them?
how? :) I tried to find some shorter names, but then you would have to omit parts of it, eg. iis_get/set_right (omitting server) iis_get/set_state (omitting service) iis_remove (omitting server) iis_add (omitting server) iis_start/stop (omitting server) ..maybe
xslt_output_begintransform -> xslt_output_begin_transform xslt_output_endtransform -> xslt_output_end_transform
xslt_begin/end_transform ?
gethostbyaddr ? gethostbyname ? getpeername ?
ok.
socket_get_status socket_set_blocking socket_set_timeout
if we name the the socket extension functions socket_* we have a confusion here (these functions are from standard)
zzip_entry_compressedsize -> ..._compressed_size zzip_entry_compressionmethod -> ..._compression_method
ok. andré -- · André Langhorst t: +49 331 5811560 · · andre@php.net m: +49 173 9558736 · * PHP Quality Assurance http://qa.php.net *

« previous php.dev (#48123) next »