ID: 27887
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Verified
Bug Type: Scripting Engine problem
Operating System: *
-PHP Version: 4CVS-2004-04-06
+PHP Version: 4CVS, 5CVS (2004-04-06)
Previous Comments:
------------------------------------------------------------------------
[2004-04-06 10:41:55] [EMAIL PROTECTED]
Description:
------------
when passing func_get_args() as second parameter of a
function, it complains.
foo('foo', func_get_args());
Fatal error: func_get_args(): Can't be used as a
function parameter in /Users/iboom/Desktop/Journaux/
2004.04/fonctions/arg_defaut.php on line 23
foo(func_get_args(), 'foo');
is OK tough.
So, it won't work with
print join(',',func_get_args());
array_map('foo',func_get_args());
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27887&edit=1