Re: cleaning up the functions - any volunteers?
| From: | Pierre Joye | Date: | Thu, 26 Jun 2008 05:45:32 +0000 |
| Subject: | Re: cleaning up the functions - any volunteers? | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-38626@lists.php.net to get a copy of this message | ||
Hi Christian,
On Thu, Jun 26, 2008 at 2:12 AM, Cristian Rodríguez <crrodriguez@suse.de> wrote:
> Stanislav Malyshev escribió:
>>
>> Hi!
>>
>> While we nearing the release of 5.3 (hopefully?), there are many functions
>> in the PHP code which still use old parameter parsing API
>> (zend_get_parameters_ex) instead of the new one (zend_parse_parameters).
>>
>> P.S. if some genius would invent a script to automate that - it'd be
>> awesome, but I don't have very high hopes on that. :)
>
> The attached patch may also help both core and PECL extensions, emiting a
> deprecation compile warning when those functions are used.
That's a very good idea.
> ps: you have to add the attribute to all deprecated functions ;-)
even better, a review while being at it cannot hurt :-)
Thanks for your patch!
--
Pierre
http://blog.thepimp.net | http://www.libgd.org