If you aren't supposed to be able to use func_get_args() as a function
parameter, but you can get away with it if you make it the *first* param,
is that a bug or a feature?

works:
        funcy(func_get_args(), 'p1', 3);
fatal error:
        funcy('p1', 3, func_get_args());

i assume this works because whatever func_get_args() reads gets
rebuilt in the course of processing a new function call. and that
in the 1st case, it hasn't begun the new list yet, so it can
still read the current one.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to