Re: PHP_Compat, signature changes
| From: | Lukas Smith | Date: | Sun, 29 May 2005 18:39:25 +0000 |
| Subject: | Re: PHP_Compat, signature changes | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-37871@lists.php.net to get a copy of this message | ||
Aidan Lister wrote:
a) Functions with changed signatures live in a class. PHP_Compat_Component::microtime(...); b) Functions have php_compat affixed to them. php_compat_microtime(); c) Functions have another appropriate abbreviation, eg. phpc_microtime(); d) Functions have an underscore, or something affixed, _microtime();e) wait for Sara Golems extension which will allow you to rewrite any defined function. aside from that I would recommend using a prefix that can easily be added and removed using a search/replace on your code. regards, Lukas Smith smith@backendmedia.com _______________________________ BackendMedia www.backendmedia.com berlin@backendmedia.com Linn Zwoch Smith GbR Pariser Str. 44 D-10707 Berlin Tel +49 30 83 22 50 00 Fax +49 30 83 22 50 07