Re: [PHP4BETA] getParameters + Ex?

From: Date: Thu, 13 May 1999 15:50:11 +0000
Subject: Re: [PHP4BETA] getParameters + Ex?
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-838@lists.php.net to get a copy of this message
On Thu, 13 May 1999, Andrey Zmievski wrote: > What's the difference between getParameters/getParameterArray and > getParametersEx/getParameterArrayEx? The Ex versions provide much better performance, since they don't duplicate the arguments. However, those functions have to be coupled with a set of macros, that will be used instead of the convert_to_*() functions, which would actually duplicate the argument if it's changed. I haven't had the time to write those macros yet, I'll do that sometime in the future. Note that you can't just replace getParameters() with getParametersEx(), you actually have to change the function implementation as well. When I finish writing the high-performance API, I'll document it and give the necessary guidelines. No function currently uses the Ex API. Zeev -- ----------------------------------------------------- Zeev Suraski <zeev@zend.com> For a PGP public key, finger bourbon@netvision.net.il -- PHP 4 Beta

« previous php.version4 (#838) next »