Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:61610 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89858 invoked from network); 21 Jul 2012 09:32:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Jul 2012 09:32:39 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.170 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.161.170 mail-gg0-f170.google.com Received: from [209.85.161.170] ([209.85.161.170:33452] helo=mail-gg0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 86/23-07940-4377A005 for ; Sat, 21 Jul 2012 05:32:37 -0400 Received: by ggnf2 with SMTP id f2so5322049ggn.29 for ; Sat, 21 Jul 2012 02:32:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=9MI9bgt7IAmtDQDUd+ZyNj4U3MCE8SsXCdRSQpZIOTo=; b=YBEhoENBQeW9OanJMPZKYMklcQmY5n7y1CApSL5F51nmBcbeDZqe2awyqbKnaept0d 26qZGky3OLV6wjz8eOUA26ovVMxDmdf6US8on61wUCdyBxmDFLsZ9lc7OitX8aomjBli Xw94xGW2RjKXX1Fj3r1ISnAaB0bt8lVTtSkgmGYZXW7pqcM/pVmwvnBzTHT2tvKnn4u0 gkxrvJD5r98sp1WGpYYFnSbgMZxAQd8gNS8sLRh329/8yJLFK17I1rEsCbutBEDz2t9d aVaq8rt77BVazfvAAFdaM01pjKd7r2osmvm8lF9X0PuBLOwAEGS7BY2iJDmBRO0SSy6E +dpA== MIME-Version: 1.0 Received: by 10.50.171.41 with SMTP id ar9mr10366415igc.56.1342863154021; Sat, 21 Jul 2012 02:32:34 -0700 (PDT) Received: by 10.231.137.71 with HTTP; Sat, 21 Jul 2012 02:32:33 -0700 (PDT) In-Reply-To: References: Date: Sat, 21 Jul 2012 11:32:33 +0200 Message-ID: To: Andrew Faulds Cc: internals@lists.php.net, Rasmus Schultz Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] common issue with version_compare() From: pierre.php@gmail.com (Pierre Joye) 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