Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66944 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39730 invoked from network); 4 Apr 2013 14:28:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Apr 2013 14:28:23 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.211.66 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.211.66 config.schlueters.de Received: from [217.114.211.66] ([217.114.211.66:43622] helo=config.schlueters.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E7/C0-35962-60E8D515 for ; Thu, 04 Apr 2013 09:28:23 -0500 Received: from [192.168.2.20] (ppp-93-104-21-76.dynamic.mnet-online.de [93.104.21.76]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by config.schlueters.de (Postfix) with ESMTPSA id A2DF765A18; Thu, 4 Apr 2013 16:28:19 +0200 (CEST) To: Julien Pauli Cc: PHP Internals In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Thu, 04 Apr 2013 16:29:37 +0200 Message-ID: <1365085777.2152.2676.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Adding a way to retreive compile options at runtime From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Thu, 2013-04-04 at 16:18 +0200, Julien Pauli wrote: > > Then , I remembered I once proposed to add a new function that could > return > every ./configure options used to compile the runtime PHP the code is > beeing run on. > What's the purpose of this? What problems should be solved by that? - We should have proper "reflection" on all things affecting the behavior, but mind: Many things which can be done in configure could also be done by loading shared extensions compiled independently, and things done in the configure line might only affect extensions which were built shared but not loaded ... johannes