Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35334 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27649 invoked by uid 1010); 8 Feb 2008 19:52:13 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 27634 invoked from network); 8 Feb 2008 19:52:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Feb 2008 19:52:13 -0000 Authentication-Results: pb1.pair.com header.from=david.coallier@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=david.coallier@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.146.178 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: david.coallier@gmail.com X-Host-Fingerprint: 209.85.146.178 wa-out-1112.google.com Received: from [209.85.146.178] ([209.85.146.178:40040] helo=wa-out-1112.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 70/66-04488-BE2BCA74 for ; Fri, 08 Feb 2008 14:52:12 -0500 Received: by wa-out-1112.google.com with SMTP id l24so589752waf.17 for ; Fri, 08 Feb 2008 11:52:09 -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:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=jI2LSn/zzPp5i/r+bPbR7pEHj2EWjBfDxqEg6DK0t4M=; b=lwYeF213nnxb5yzIddMNLR23PLEI82BrC2Mha9ohoiJZT8Tj+8+kWjs5gjXRCksi9ugTPw/s21sAsn5vCDYGDORIBggauGm5I0JnwLgtvTSM5t7zz9Kd5ik4u/hPodEwKO0rvlxGXt2rv0VuWStaaZ7v1HqddSfpPNakujGsmbY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=KIZh0xo/LJaiZ7/bVOa/E/u3UHiPzfPAuXEw0JJRpMWKUVCxJCT7gcofPMMil+pl3TaHNdUYmzStonyUd0z4UYQqzmDs0+ViBD5vTXKPRMnkTYDEz6lJB8IeBx15544OMc4KoWQVzCyr1CABo7itwmYxCrF8guLjPtQ51sxuvaQ= Received: by 10.114.201.1 with SMTP id y1mr3176625waf.121.1202500329031; Fri, 08 Feb 2008 11:52:09 -0800 (PST) Received: by 10.115.22.20 with HTTP; Fri, 8 Feb 2008 11:52:08 -0800 (PST) Message-ID: Date: Fri, 8 Feb 2008 14:52:08 -0500 Sender: david.coallier@gmail.com To: "Pierre Joye" Cc: "PHP Internals List" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Google-Sender-Auth: c9017cb6a115ae14 Subject: Re: [PHP-DEV] [patch] expose PHP version details as constants From: davidc@php.net ("David Coallier") On Feb 8, 2008 7:52 AM, Pierre Joye wrote: > 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 > > > #define PHP_MAJOR_VERSION 5 > #define PHP_MINOR_VERSION 2 > #define PHP_RELEASE_VERSION 6 > #define PHP_EXTRA_VERSION "-dev" > #define PHP_VERSION "5.2.6-dev" << already available as contant > #define PHP_VERSION_ID 50206 > > Patch against 5.2 attached. > > Any objections? Bla bla bla.. Commit the thing already :)) > > Cheers, > -- > Pierre > http://blog.thepimp.net | http://www.libgd.org > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > -- David Coallier, Founder & Software Architect, Agora Production (http://agoraproduction.com) 51.42.06.70.18