Hi internals, Relating to the recent discussions on undefined variables & co. One thing that is particularly annoying about the undefined variable case is that our default error_reporting level (without a php.ini) does not include E_NOTICE.
Thankfully distros do tend to have more reasonable defaults, but if you spend as much time with custom PHP builds as I do, not seeing *anything* for undefined variables is a pretty big annoyance. Does anyone see an issue with making error_reporting=E_ALL the default in PHP 8? It can of course still be manually downgraded via php.ini and php.ini-production will retain the existing recommendation that excludes E_DEPRECATED/E_STRICT. PR: https://github.com/php/php-src/pull/4659 Regards, Nikita