#24817 [Opn->WFx]: Suggestion on Function Handling functions
| From: | sniper@php.net | Date: | Sun, 27 Jul 2003 18:44:27 +0000 |
| Subject: | #24817 [Opn->WFx]: Suggestion on Function Handling functions | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-44849@lists.php.net to get a copy of this message | ||
ID: 24817
Updated by: sniper@php.net
Reported By: jimsonchang at yahoo dot com
-Status: Open
+Status: Wont fix
Bug Type: Feature/Change Request
Operating System: XPbox
PHP Version: 4.3.2
New Comment:
And lose backwards compatibility? Yeah, right.
Previous Comments:
------------------------------------------------------------------------
[2003-07-26 07:38:22] jimsonchang at yahoo dot com
Description:
------------
i got a suggestion on Function Handling functions
for better standardization and better php
eg.
call_user_func_array() can be changed to func_call_array()
// since user might call internal function, not necessary user
functions
call_user_func() can be changed to func_call()
// since user might call internal function also
create_function() can be changed to func_create()
func_get_arg() can be changed to func_arg()
// no need the get word because we can't post or give
func_get_args() can be changed to func_args()
// like the above reason, because we can't post or give
// and we already post/give in call_user_func()
func_num_args() can be changed to func_args_num()
// follow the above standard
function_exists() can be changed to func_exists()
get_defined_functions() can be changed to func_int_list() and
func_usr_list()
// since user no need to copy an array or unset to get the user or
internal functions list
register_shutdown_function() can be changed to func_reg_shutdown()
register_tick_function() can be changed to func_tick_reg()
unregister_tick_function() can be changed to func_tick_unreg()
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24817&edit=1