Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35333 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 82310 invoked by uid 1010); 8 Feb 2008 18:43:06 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 82295 invoked from network); 8 Feb 2008 18:43:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Feb 2008 18:43:06 -0000 Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.162] ([212.25.124.162:26166] helo=mx1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 00/EE-04488-8B2ACA74 for ; Fri, 08 Feb 2008 13:43:06 -0500 Received: from us-ex1.zend.com ([192.168.16.5]) by mx1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 8 Feb 2008 20:43:03 +0200 Received: from [192.168.16.90] ([192.168.16.90]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 8 Feb 2008 10:43:00 -0800 Message-ID: <47ACA2B2.102@zend.com> Date: Fri, 08 Feb 2008 10:42:58 -0800 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Pierre Joye CC: PHP Internals List References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 08 Feb 2008 18:43:00.0624 (UTC) FILETIME=[6E248900:01C86A82] Subject: Re: [PHP-DEV] [patch] expose PHP version details as constants From: stas@zend.com (Stanislav Malyshev) Hi! > Testing the PHP version can be much easier and faster if the versions > details were exposed via the constants, like what we use internally. > This little patch expose what we have in php_version.h Looks ok, shouldn't harm anything. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com