I the Sears Christmas catologe is out, Im going to make a christmas wish
too.

I wish I could just do this

function test()
{
    somefunc(func_get_args(), 'one more arg');
}

but I cant, I have todo this, ouch

function test()
{
    $args = func_get_args();
    eval("somefunc( '". implode("', '", $args) ."', 'one more arg' ); ";
}

thats just nasty. and dont try putting the func_get_args() in the implode, I
get a warning saying dont even try it. plus it would still be ugly.

--

  Chris Lee
  [EMAIL PROTECTED]





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to