note 75646 added to function.version-compare
| From: | opendb at iamvegan dot net | Date: | Sun, 10 Jun 2007 04:35:21 +0000 |
| Subject: | note 75646 added to function.version-compare | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-127345@lists.php.net to get a copy of this message | ||
I would have expected the following comparison to be true, but its not!
version_compare('1.0.1', '1.0pl1', '>')
I expected a patch level against version 1.0, to be considered less than a 1.0.1!
----
Server IP: 203.16.234.90
Probable Submitter: 202.7.176.132 (proxied: 60.240.112.111)
----
Manual Page -- http://www.php.net/manual/en/function.version-compare.php
Edit -- https://master.php.net/note/edit/75646
Del: integrated -- https://master.php.net/note/delete/75646/integrated
Del: useless -- https://master.php.net/note/delete/75646/useless
Del: bad code -- https://master.php.net/note/delete/75646/bad+code
Del: spam -- https://master.php.net/note/delete/75646/spam
Del: non-english -- https://master.php.net/note/delete/75646/non-english
Del: in docs -- https://master.php.net/note/delete/75646/in+docs
Del: other reasons-- https://master.php.net/note/delete/75646
Reject -- https://master.php.net/note/reject/75646
Search -- https://master.php.net/manage/user-notes.php