#24817 [NEW]: Suggestion on Function Handling functions
| From: | jimsonchang at yahoo dot com | Date: | Sat, 26 Jul 2003 12:38:22 +0000 |
| Subject: | #24817 [NEW]: Suggestion on Function Handling functions | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-44789@lists.php.net to get a copy of this message | ||
From: jimsonchang at yahoo dot com
Operating system: XPbox
PHP version: 4.3.2
PHP Bug Type: Feature/Change Request
Bug description: Suggestion on Function Handling functions
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 bug report at http://bugs.php.net/?id=24817&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24817&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24817&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=24817&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24817&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24817&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24817&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24817&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24817&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24817&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24817&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24817&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24817&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24817&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24817&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24817&r=gnused