PHP 4.0 Bug #8150: extending call_user_func()'s functionality

From: Date: Thu, 07 Dec 2000 04:36:58 +0000
Subject: PHP 4.0 Bug #8150: extending call_user_func()'s functionality
Groups: php.dev 
Request: Send a blank email to php-dev+get-40305@lists.php.net to get a copy of this message
From: sbergmann@php.net 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

« previous php.dev (#40305) next »