Re: Bug #54514
| From: | Hannes Magnusson | Date: | Wed, 07 Dec 2011 08:48:59 +0000 |
| Subject: | Re: Bug #54514 | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-56825@lists.php.net to get a copy of this message | ||
On Wed, Dec 7, 2011 at 09:44, Laruence <laruence@php.net> wrote:
> HI:
>
> 1. the PHP_BINARY is only make sence in cli sapi
> 2. if the use script, by chance, has codes: define("PHP_BINARY",
> ***) will trigger error
>
Constants starting with PHP_ are reserved by PHP.
This has come up several times before and we agreed a PHP_BINARY
constant made the most senes.
"The problem" with this feature was when we backtrack binary to load
the php.ini file, it was to early in the startup to be able to
register a constant, variable or whatever..
-Hannes