Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35416 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34855 invoked by uid 1010); 12 Feb 2008 18:05:17 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 34840 invoked from network); 12 Feb 2008 18:05:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Feb 2008 18:05:17 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad 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 64.233.184.229 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 64.233.184.229 wr-out-0506.google.com Linux 2.4/2.6 Received: from [64.233.184.229] ([64.233.184.229:16784] helo=wr-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 42/E9-36990-BDFD1B74 for ; Tue, 12 Feb 2008 13:05:16 -0500 Received: by wr-out-0506.google.com with SMTP id c38so4679750wra.17 for ; Tue, 12 Feb 2008 10:05:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=wzZ94+0xUxoNfQTe5Bvs0ijEr3fAXNI1OqXcBszvgqQ=; b=MLtJChBnei3LtOJQ9kRtmwR+rBJoXqDQg/ZQnqaBKOKru+hi7nyxxiGcpxoi9mTjJMimlxL4ltoK6xHmMPd1iqKoBiN/reAOOO4N6Zchg9BQOdF3MubQ0zeW8HTu1Nhd86n2f75x1u/ZVOBgHepALYJzfaIqiQrPvVzU7Yky5X8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JKR8ymJHqV8ntF5QyVALb/EnRv9h7sfbjlvDPsv3yo/3dLxlWrG65/Q0NR950/NGfC0QX02RE2Uj/FQuREmb+DUyeU7SoyfxHhLT7uNHpw2dfjuesT6469w253C6y/TPByTq8J04RN7V/TBvPzyBv4ZGalWHr1u7JnMRukTmLzs= Received: by 10.141.161.6 with SMTP id n6mr1139321rvo.201.1202839509636; Tue, 12 Feb 2008 10:05:09 -0800 (PST) Received: by 10.141.70.21 with HTTP; Tue, 12 Feb 2008 10:05:09 -0800 (PST) Message-ID: Date: Tue, 12 Feb 2008 19:05:09 +0100 To: jani.taskinen@iki.fi Cc: "Ilia Alshanetsky" , "internals Mailing List" In-Reply-To: <1202838992.10232.1.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1323006624.20080209143940@marcus-boerger.de> <1202838992.10232.1.camel@localhost.localdomain> Subject: Re: [PHP-DEV] [patch] expose PHP version details as constants From: pierre.php@gmail.com ("Pierre Joye") On Feb 12, 2008 6:56 PM, Jani Taskinen wrote: > And for the reasons why they're not needed in 5.2 apply to any other PHP > version. version_compare() is there for a reason, USE IT! No more > constants for same thing, thankyouverymuch. Read: it is easier, faster handier to use than version_compare. It makes perfectly sense to have them as other pointed out too, they can even be used in php.ini when the [if] is available. Thank you for your feedback :) -- Pierre http://blog.thepimp.net | http://www.libgd.org