+1 On Fri, Aug 30, 2019, 11:13 AM Javier Spagnoletti <phan...@gmail.com> wrote:
> Great step! +1 > Thank you so much Nikita. > > El vie., 30 de ago. de 2019 07:02, Arvids Godjuks < > arvids.godj...@gmail.com> > escribió: > > > пт, 30 авг. 2019 г. в 11:33, Nikita Popov <nikita....@gmail.com>: > > > > > 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 > > > > > > > +1 from userland. > > > > I always have edited the php.ini for production. I also usually edit > > development too to include all error levels, but yeah - having shipped > > php.ini with sane defaults would be very welcome. > > I do agree with Zeev that production file should probably resemble what > > php.ini-development is right now, so I'd say we need to go deeper ;) > > > > -- > > Arvīds Godjuks > > > > +371 26 851 664 > > arvids.godj...@gmail.com > > Skype: psihius > > Telegram: @psihius https://t.me/psihius > > >