On Fri, Jul 24, 2020 at 2:54 PM Derek Bonner <[email protected]> wrote:
> * memory_limit = ${PHP_MEMORY_LIMIT:-"default value"}
> * memory_limit = ${PHP_MEMORY_LIMIT::"default value"}
> * memory_limit = ${PHP_MEMORY_LIMIT:="default value"}
> * memory_limit = ${PHP_MEMORY_LIMIT=="default value"}
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().
--c
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php