abstract question

From: Date: Wed, 14 Aug 2002 04:26:39 +0000
Subject: abstract question
Groups: php.general 
Request: Send a blank email to php-general+get-112480@lists.php.net to get a copy of this message
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.

« previous php.general (#112480) next »