Re: Passing an indefinite number of parameters by reference
| From: | Chris Jenkinson | Date: | Mon, 08 May 2006 10:49:37 +0000 |
| Subject: | Re: Passing an indefinite number of parameters by reference | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-235709@lists.php.net to get a copy of this message | ||
Jochem Maas wrote:
that smells like bad design (but then again you should see some of my code ;-)I blame PHP not allowing func_get_args() to use references, rather than bad design on my part. :)
i can say with confidence 'no, your **** out of luck'.There must be some clever workaround using global scope variables and eval(). I just can't think of it yet. Chris -- Chris Jenkinson chris@starglade.org "Mistrust all in whom the impulse to punish is powerful." -- Friedrich Nietzsche, Thus Spoke Zarathustra