Re: Proposal: php.ini environment variable fallback value
| From: | Chuck Adams | Date: | Sat, 25 Jul 2020 18:47:11 +0000 |
| Subject: | Re: Proposal: php.ini environment variable fallback value | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-111188@lists.php.net to get a copy of this message | ||
On Sat, Jul 25, 2020 at 9:30 AM Chuck Adams <cja987@gmail.com> wrote:
>
> Not a fan of special syntax for environment variables regardless of
> the syntax. I think
$_ENV['foo'] ?? 'bar'
> is fine as-is. Not so
> much the superglobal, but there's also getenv().
I feel fairly silly, this being for just .ini files. Seems reasonable
enough there, though now we're talking about .ini files no longer
being static...
--c