Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33168 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20583 invoked by uid 1010); 15 Nov 2007 23:33:50 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 20566 invoked from network); 15 Nov 2007 23:33:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Nov 2007 23:33:49 -0000 Authentication-Results: pb1.pair.com smtp.mail=steph@zend.com; spf=permerror; sender-id=softfail Authentication-Results: pb1.pair.com header.from=steph@zend.com; sender-id=softfail Received-SPF: error (pb1.pair.com: domain zend.com from 64.97.136.175 cause and error) X-PHP-List-Original-Sender: steph@zend.com X-Host-Fingerprint: 64.97.136.175 smtpout0175.sc1.he.tucows.com Solaris 8 (1) Received: from [64.97.136.175] ([64.97.136.175:46212] helo=n068.sc1.he.tucows.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 99/69-06919-B57DC374 for ; Thu, 15 Nov 2007 18:33:49 -0500 Received: from sc1-out03.emaildefenseservice.com (64.97.139.2) by n068.sc1.he.tucows.com (7.2.069.1) id 47030B1E0035493F; Thu, 15 Nov 2007 23:33:42 +0000 X-SpamScore: 2 X-Spamcatcher-Summary: 2,0,0,f0992189588ff1be,f5a89079d355c81c,steph@zend.com,-,RULES_HIT:355:379:539:540:541:542:543:567:973:982:988:989:1155:1156:1260:1277:1311:1313:1314:1345:1437:1515:1516:1518:1534:1541:1587:1593:1594:1711:1730:1747:1766:1792:2073:2075:2078:2393:2559:2562:2828:2892:3352:3622:3865:3866:3867:3868:3869:3870:3871:3872:3873:3874:4250:5007:6119:6120:6261:7653,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:none,DNSBL:none X-Spamcatcher-Explanation: Received: from foxbox (80-195-223-230.cable.ubr07.shef.blueyonder.co.uk [80.195.223.230]) (Authenticated sender: steph.fox) by sc1-out03.emaildefenseservice.com (Postfix) with ESMTP; Thu, 15 Nov 2007 23:33:40 +0000 (UTC) Message-ID: <015f01c827e0$0a3b38b0$e6dfc350@foxbox> Reply-To: "Steph Fox" To: "internals" Cc: "Elizabeth Smith" Date: Thu, 15 Nov 2007 23:34:15 -0000 Organization: Zend Technologies MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: RFC Making compiler info accessible From: steph@zend.com ("Steph Fox") 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.