Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33170 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1822 invoked by uid 1010); 16 Nov 2007 07:29:32 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 1807 invoked from network); 16 Nov 2007 07:29:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Nov 2007 07:29:32 -0000 Authentication-Results: pb1.pair.com smtp.mail=indeyets@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=indeyets@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.170.185 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: indeyets@gmail.com X-Host-Fingerprint: 64.233.170.185 rn-out-0910.google.com Linux 2.4/2.6 Received: from [64.233.170.185] ([64.233.170.185:36411] helo=rn-out-0102.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 34/00-01128-BD64D374 for ; Fri, 16 Nov 2007 02:29:31 -0500 Received: by rn-out-0102.google.com with SMTP id e11so639949rng for ; Thu, 15 Nov 2007 23:29:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; 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=PBGutZadhd1dLjVO0G791yY8MfX9cbG3BzMSG3LNBF8=; b=QvfnAlh67BPp+lLeloho/2f88MfRTGwD2Ep47jT3T0ytrzFpMhEjhhGz/VZSILue/QHqwhPVlR78mVgB7fY1nDCumPAnT4oO6zyqcl887jbxCIto8R3Oqpf8wfny1qTITMkQPOoP0OFUbGzc90LWezzO7C7jc1ohYF/3XAdiBLs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SeR3BijaRzzm8O0L+B0yZA0NXehe+tKvOpMU9XXkr+1Gv/uYz/0nBE0pckbB+87jkLtc7bRnvJxk22tA+DTAIEq4U0YHv/KrNz+Iq2rMpRRsQhLFaE14cp+e5PA2dgUrnqqwE4S+sg4yzTvd6HfxNCVGP1crmY3dD5yzAcWFOys= Received: by 10.150.154.6 with SMTP id b6mr245989ybe.1195198168525; Thu, 15 Nov 2007 23:29:28 -0800 (PST) Received: by 10.150.52.9 with HTTP; Thu, 15 Nov 2007 23:29:28 -0800 (PST) Message-ID: Date: Fri, 16 Nov 2007 10:29:28 +0300 To: "Steph Fox" Cc: internals , "Elizabeth Smith" In-Reply-To: <015f01c827e0$0a3b38b0$e6dfc350@foxbox> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <015f01c827e0$0a3b38b0$e6dfc350@foxbox> Subject: Re: [PHP-DEV] RFC Making compiler info accessible From: indeyets@gmail.com ("Alexey Zakhlestin") I think it's a good idea and would be useful in unix-world too (we have a hell-lot of compilers and versions these days) On 11/16/07, Steph Fox wrote: > Hi all, > > This is just a suggestion at this stage, I'd like to test the waters with it > before writing a patch. > > Apropos the VS discussion, I was thinking about suffixing the PHP version > number in these 'beta builds', to help with the ensuing QA logistics, and > then it struck me that it might be useful for _everybody_ to have compiler > info (make/version) as part of the string returned from php -v, probably > alongside the build date. We could then sanely ask for that information as > part of PHP bug reports. > > The MS compiler version is transparently available to the source code, so it > wouldn't be difficult to make the information available in the resulting PHP > binary. (It's also available to our MS build system[*].) I know rather less > about the situation with compilers on other platforms though...? > > Comments? Particularly, does anyone actually use php -v output in their > scripting in a way that would make this a bad idea all round? > > - Steph > > [*] The build system currently appears to be using that info for BC > workarounds, among other things. Elizabeth, if you're reading this please be > aware that it needs a little investigation. > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Alexey Zakhlestin http://blog.milkfarmsoft.com/