Re: version_compare() logic issue - can we work around this?

From: Date: Mon, 05 Sep 2005 19:21:17 +0000
Subject: Re: version_compare() logic issue - can we work around this?
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-18681@lists.php.net to get a copy of this message
On Mon, 5 Sep 2005, Greg Beaver wrote: > Hi, > > version_compare('5.1.0-dev', '5.1.0b3') > > always claims 5.1.0-dev is older. This has been causing intermittent > problems with testing PEAR and other packages with the latest CVS of > PHP. Could we change the version of PHP in development to something > version_compare can work with like 5.1.0RC2-dev even if it ends up being > 5.1.0b4, 5.1.0 stable or anything else? It was always custom to do this: 5.1.0-dev 5.1.0b1 5.1.0b2-dev 5.1.0b2 5.1.0RC1-dev 5.1.0RC1 5.1.0RC2-dev ... 5.1.0 But for some reason the current RMs don't do that anymore. Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org

« previous php.internals (#18681) next »