Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:61611 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 91262 invoked from network); 21 Jul 2012 09:37:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Jul 2012 09:37:57 -0000 Authentication-Results: pb1.pair.com header.from=ajfweb@googlemail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ajfweb@googlemail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 74.125.82.170 as permitted sender) X-PHP-List-Original-Sender: ajfweb@googlemail.com X-Host-Fingerprint: 74.125.82.170 mail-we0-f170.google.com Received: from [74.125.82.170] ([74.125.82.170:50385] helo=mail-we0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7A/73-07940-5787A005 for ; Sat, 21 Jul 2012 05:37:57 -0400 Received: by weyr1 with SMTP id r1so3608714wey.29 for ; Sat, 21 Jul 2012 02:37:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=slsz6aDMp187zRyHwCOoCzbA3G8qRS/8MQAFyMlJkzY=; b=AH2EaDnpQy4cxhlw9NbGVaPhGodGxbkHXchRm90mGHOKuIApM/XNk3xHgn3BOSb4nt 3WSzAwHYPO9TMQ8+9XqmQ8kzQ9JxFJOBRWRqGDVBhD6jpaLUtWQS694U3tBoEK54u4Qi qQCT8av9GvSGNjbtpCZm9eYx5Aqx2YTa2C7OxHbZOZLaO4PiGSGxfa7g+0xLSDdFD52d MJXFIWhovuv4KmkZLxLUqocX++zCXHRpeRWcAFVGHfcI+fO/SC1o7ayABXLftOBVDdgV CHZPxOO0SmVofSstQIVNQ+L6ff0mgi7QDO1N4Vf68zI0NuLzI5u/wrLemrEiJF+8HYC8 OKJA== MIME-Version: 1.0 Received: by 10.216.118.72 with SMTP id k50mr3488676weh.224.1342863473893; Sat, 21 Jul 2012 02:37:53 -0700 (PDT) Received: by 10.216.160.16 with HTTP; Sat, 21 Jul 2012 02:37:53 -0700 (PDT) Received: by 10.216.160.16 with HTTP; Sat, 21 Jul 2012 02:37:53 -0700 (PDT) In-Reply-To: References: Date: Sat, 21 Jul 2012 10:37:53 +0100 Message-ID: To: Pierre Joye Cc: internals@lists.php.net, Rasmus Schultz Content-Type: multipart/alternative; boundary=e0cb4efa789a57e3fb04c553c4a2 Subject: Re: [PHP-DEV] common issue with version_compare() From: ajfweb@googlemail.com (Andrew Faulds) --e0cb4efa789a57e3fb04c553c4a2 Content-Type: text/plain; charset=UTF-8 1, 1.0, 1.0.0, 1.0.0.0, 1.0.0.0.0 etc. are not confusing, they are completely correct, and all mean the same thing. If I publish MyApp v1, v1.0 and v1.0.0 are the same. On Jul 21, 2012 10:32 AM, "Pierre Joye" wrote: > hi, > > No, I mean version with 1.0 and not 1.0.0 are not. They are just not > correct and confusing, as you noticed. > > On Sat, Jul 21, 2012 at 11:19 AM, Andrew Faulds > wrote: > > 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" wrote: > >> > >> hi! > >> > >> On Fri, Jul 20, 2012 at 2:40 PM, Rasmus Schultz > >> 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 > >> > > > > > > -- > Pierre > > @pierrejoye | http://blog.thepimp.net | http://www.libgd.org > --e0cb4efa789a57e3fb04c553c4a2--