version_compare() logic issue - can we work around this?
| From: | Greg Beaver | Date: | Mon, 05 Sep 2005 18:42:35 +0000 |
| Subject: | version_compare() logic issue - can we work around this? | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-18680@lists.php.net to get a copy of this message | ||
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?
This would be a big help if it isn't a big hastle.
Thanks,
Greg