Re: [patch] expose PHP version details as constants
| From: | Pierre Joye | Date: | Tue, 12 Feb 2008 18:05:09 +0000 |
| Subject: | Re: [patch] expose PHP version details as constants | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-35416@lists.php.net to get a copy of this message | ||
On Feb 12, 2008 6:56 PM, Jani Taskinen <jani.taskinen@sci.fi> wrote:
> And for the reasons why they're not needed in 5.2 apply to any other PHP
> version. version_compare() is there for a reason, USE IT! No more
> constants for same thing, thankyouverymuch.
Read:
it is easier, faster handier to use than version_compare. It makes
perfectly sense to have them as other pointed out too, they can even
be used in php.ini when the [if] is available.
Thank you for your feedback :)
--
Pierre
http://blog.thepimp.net | http://www.libgd.org