Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:61609 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88157 invoked from network); 21 Jul 2012 09:19:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Jul 2012 09:19:12 -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:51242] helo=mail-we0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 39/C2-07940-C047A005 for ; Sat, 21 Jul 2012 05:19:09 -0400 Received: by weyr1 with SMTP id r1so3601217wey.29 for ; Sat, 21 Jul 2012 02:19:06 -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=msPIR6nH2yTjOztFPCRK9kcFKHdL90BvfEXeLTwDAKw=; b=nTxzziN1OB59ne2h1eV5WenSOWvxUSgV4AC+7LxUgAGf+idVUc6L9Df6hpTFLqMpOq i5qKrHm6SgBFGQ87XduYxURPrU76x1ihdt0rItmXV9oUKrymENCdGZmzcG+pHwCg3IBA 3N24CUGetXPcXL5IcDDwJpZiVM85VQBxnimBlQIK8kRn7em/c74KNvh3y4eQMFsJEYIO Qpmv+zR8HU5AFJ4tsnHy/6BlSsKGRG0GBwku1Z86u3HQgL1TQq68UzNtjkvgqU9mZniN 7non0KBsmDGG7X4bLDkVLyRm1bqJ3EPpZEWn9vdBdJceTERm+hsiYrGNjt4gl/igDRIb i5iQ== MIME-Version: 1.0 Received: by 10.180.96.3 with SMTP id do3mr21006403wib.5.1342862345887; Sat, 21 Jul 2012 02:19:05 -0700 (PDT) Received: by 10.216.160.16 with HTTP; Sat, 21 Jul 2012 02:19:05 -0700 (PDT) Received: by 10.216.160.16 with HTTP; Sat, 21 Jul 2012 02:19:05 -0700 (PDT) In-Reply-To: References: Date: Sat, 21 Jul 2012 10:19:05 +0100 Message-ID: To: Pierre Joye Cc: internals@lists.php.net, Rasmus Schultz Content-Type: multipart/alternative; boundary=f46d044481351bdf9d04c5538189 Subject: Re: [PHP-DEV] common issue with version_compare() From: ajfweb@googlemail.com (Andrew Faulds) --f46d044481351bdf9d04c5538189 Content-Type: text/plain; charset=UTF-8 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 > > --f46d044481351bdf9d04c5538189--