[PHP-DEV] PHP 4.0 Bug #8150: extending call_user_func()'s functionality From: sbergmann <email protected>
Date: 12/06/00

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>