Re: cleaning up the functions - any volunteers?
| From: | Cristian Rodríguez | Date: | Thu, 26 Jun 2008 00:12:28 +0000 |
| Subject: | Re: cleaning up the functions - any volunteers? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-38621@lists.php.net to get a copy of this message | ||
Stanislav Malyshev escribió:
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
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. ps: you have to add the attribute to all deprecated functions ;-) -- Cristian Rodríguez R. Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc