Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:18681 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83406 invoked by uid 1010); 5 Sep 2005 19:21:25 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 83391 invoked from network); 5 Sep 2005 19:21:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Sep 2005 19:21:25 -0000 X-Host-Fingerprint: 82.94.239.5 jdi.jdi-ict.nl Linux 2.5 (sometimes 2.4) (4) Received: from ([82.94.239.5:36577] helo=jdi.jdi-ict.nl) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id BD/CE-33268-3BA9C134 for ; Mon, 05 Sep 2005 15:21:23 -0400 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.12.11/8.12.11) with ESMTP id j85JLJmw007193; Mon, 5 Sep 2005 21:21:19 +0200 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.12.11/8.12.11) with ESMTP id j85JLGen007182; Mon, 5 Sep 2005 21:21:17 +0200 Date: Mon, 5 Sep 2005 21:21:17 +0200 (CEST) X-X-Sender: derick@localhost To: Greg Beaver cc: internals@lists.php.net In-Reply-To: <49.1D.33268.2A19C134@pb1.pair.com> Message-ID: References: <49.1D.33268.2A19C134@pb1.pair.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at jdi-ict.nl Subject: Re: [PHP-DEV] version_compare() logic issue - can we work around this? From: derick@php.net (Derick Rethans) On Mon, 5 Sep 2005, Greg Beaver wrote: > Hi, > > version_compare('5.1.0-dev', '5.1.0b3') > > always claims 5.1.0-dev is older. This has been causing intermittent > problems with testing PEAR and other packages with the latest CVS of > PHP. Could we change the version of PHP in development to something > version_compare can work with like 5.1.0RC2-dev even if it ends up being > 5.1.0b4, 5.1.0 stable or anything else? It was always custom to do this: 5.1.0-dev 5.1.0b1 5.1.0b2-dev 5.1.0b2 5.1.0RC1-dev 5.1.0RC1 5.1.0RC2-dev ... 5.1.0 But for some reason the current RMs don't do that anymore. Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org