Date: 12/06/00
- Next message: Peter Bowen: "[PHP-DEV] PAM and PHP"
- Previous message: carlstephen33 <email protected>: "[PHP-DEV] [#2]"
- Next in thread: Sebastian Bergmann: "Re: [PHP-DEV] PHP 4.0 Bug #8150: extending call_user_func()'sfunctionality"
- Reply: Sebastian Bergmann: "Re: [PHP-DEV] PHP 4.0 Bug #8150: extending call_user_func()'sfunctionality"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: sbergmann <email protected>
Operating system:
PHP version: 4.0 Latest CVS (06/12/2000)
PHP Bug Type: Feature/Change Request
Bug description: extending call_user_func()'s functionality
Imagine the following situation:
function foo()
{
// get arguments for call of foo()
$arg_list = func_get_args();
// call another function, depending on $arg_list
// and passing parts of $arg_list as parameters
call_user_func( "bar", /* how can i put here a
variable number of
arguments? */
);
}
-- Edit Bug report at: http://bugs.php.net/?id=8150&edit=1-- 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>
- Next message: Peter Bowen: "[PHP-DEV] PAM and PHP"
- Previous message: carlstephen33 <email protected>: "[PHP-DEV] [#2]"
- Next in thread: Sebastian Bergmann: "Re: [PHP-DEV] PHP 4.0 Bug #8150: extending call_user_func()'sfunctionality"
- Reply: Sebastian Bergmann: "Re: [PHP-DEV] PHP 4.0 Bug #8150: extending call_user_func()'sfunctionality"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

