Re: Re: [PEPr] Comment on HTTP::HTTP_FloodControl
| From: | Alexey Borzov | Date: | Mon, 05 Mar 2007 19:13:52 +0000 |
| Subject: | Re: Re: [PEPr] Comment on HTTP::HTTP_FloodControl | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-45821@lists.php.net to get a copy of this message | ||
Hi,
vagh@tozalakyan.com wrote:
In fact all proposed code should be E_STRICT-compatible, effectively meaning PHP5 only: http://pear.php.net/manual/en/standards.e_strict.php You may propose a PHP4-compatible version if you wish, but after the PHP5 version is accepted.instead of defines and exceptions instead of pear errors. Or make your defines more standard, using a longer prefix to avoid collisions. Sure, among other things it will allow to use different object-oriented features (e.g. abstract classes for storage drivers). The only reason because of which I have written a PHP4 compatible code is that many shared hosting servers do not support PHP5 till now. I'm a novice to PEAR development and would like to know what version of PHP is prefered to use for new packages?I think you should make it a PHP5 package and use class constants