Re: Adding a way to retreive compile options at runtime
| From: | Johannes Schlüter | Date: | Thu, 04 Apr 2013 14:29:37 +0000 |
| Subject: | Re: Adding a way to retreive compile options at runtime | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-66944@lists.php.net to get a copy of this message | ||
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