Re: #define for zend engine 2.1
| From: | Derick Rethans | Date: | Mon, 07 Feb 2005 13:10:41 +0000 |
| Subject: | Re: #define for zend engine 2.1 | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-14688@lists.php.net to get a copy of this message | ||
On Mon, 7 Feb 2005, M. Sokolewicz wrote:
> > #if PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 1
> >
> > works ;-)
>
> wouldn't
> #if PHP_MAJOR_VERSION >= 5 && PHP_MINOR_VERSION >= 1
> be better in case this code would ever be used with a hypothetical PHP
> version 6? ;)
No - then it wouldn't be triggered for PHP 6.0.
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org