Re: common issue with version_compare()
| From: | Andrew Faulds | Date: | Sat, 21 Jul 2012 09:19:05 +0000 |
| Subject: | Re: common issue with version_compare() | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-61609@lists.php.net to get a copy of this message | ||
What? x, x.y, x.y.z, x.y.z.a, etc are all valid.
1, 1.1, 1.1.2, 1.1.2.3, in that order, would be valid.
On Jul 21, 2012 10:07 AM, "Pierre Joye" <pierre.php@gmail.com> wrote:
> hi!
>
> On Fri, Jul 20, 2012 at 2:40 PM, Rasmus Schultz <rasmus@mindplay.dk>
> wrote:
>
> > Of course that would break backwards compatibility, which kind of defeats
> > the purpose of having a standardized version-number comparison standard.
>
> x.y.z is standard, x.y not. I keep asking package maintainers to use
> x.y.z as version and not x.y.
>
> Cheers,
> --
> Pierre
>
> @pierrejoye | http://blog.thepimp.net |
> http://www.libgd.org
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>