Re: [PHP4BETA] Varargs user function?
| From: | Zeev Suraski | Date: | Wed, 22 Sep 1999 22:54:24 +0000 |
| Subject: | Re: [PHP4BETA] Varargs user function? | ||
| References: | 1 2 3 4 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-4812@lists.php.net to get a copy of this message | ||
At 09:19 22/09/1999 , Kristian Köhntopp wrote:
Zeev Suraski wrote: Well, the main problem with that approach is that in PHP 4.0, it's no longer a hash, but some kind of stack (for performance reasons). I guess I could implement a function that returns all of the arguments as an array, though. Would be nice. It is more efficient that iterating the function argument array manually, I suppose.You now have func_get_args() as a part of Zend. Zeev -- Zeev Suraski <zeev@zend.com> http://www.zend.com/ For a PGP public key, finger bourbon@netvision.net.il