PHP's ini values are already a bit of a mess. You have a global php.ini
file, and then most PHP ini directives can be set per directory using the
.htaccess file. About a third can be set at runtime. This makes tracking
down where a setting came from a bit of a headache unless care is taken.
This
On Sat, Jul 25, 2020 at 9:30 AM Chuck Adams 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.
Hey,
Björn Larsson wrote:
Would it then make sense to have it as compile time error in 8.0 and
make it right-associativein in e.g. 8.1?
OTOH, when looking in RFC on top 1000 affected composer packages
it looks like having the change in 8.0 might be a way forward...
r//Björn L
I think 7.4 an
Hey everyone,
I assume others with php.net accounts also see these messages when
logged into wiki.php.net:
> New release candidate 3 available: 2020-06-09 "Hogfather". upgrade
now! [51.2] (what's this?)
>
> New release candidate 2 available: 2020-06-01 "Hogfather". upgrade
now! [51.1] (what
On 25/07/2020 16:26, Chuck Adams wrote:
On Fri, Jul 24, 2020 at 1:32 PM Rowan Tommins wrote:
If anything, I would argue for making both of these into errors, if
that's possible. I think the biggest risk with this kind of change is
not existing code relying on the old behaviour, it is code rely
On Fri, Jul 24, 2020 at 2:54 PM Derek Bonner 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
On Fri, Jul 24, 2020 at 1:32 PM Rowan Tommins wrote:
> If anything, I would argue for making both of these into errors, if
> that's possible. I think the biggest risk with this kind of change is
> not existing code relying on the old behaviour, it is code relying on
> the *new* behaviour which is
Hi internals,
https://wiki.php.net/rfc/throwable_string_param_max_len has been accepted and
merged, with 36 votes in favor and 2 votes against it.
Thanks,
- Tyson
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php