On Tue, 2008-02-12 at 19:05 +0100, Pierre Joye wrote:
> On Feb 12, 2008 6:56 PM, Jani Taskinen <[EMAIL PROTECTED]> 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.

I thought nobody noticed my comment about constants and php.ini usage..
You could still use PHP_VERSION there too. :D But to keep php.ini syntax
simple, it's better to just keep on adding more constants in PHP
side. ;)

.oO(..so this is how it feels like when something comes back and bites
you in the ass..)

-- 
Patches/Donations: http://pecl.php.net/~jani/



-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to