Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106814 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 84736 invoked from network); 30 Aug 2019 12:41:08 -0000 Received: from unknown (HELO mail-pf1-f178.google.com) (209.85.210.178) by pb1.pair.com with SMTP; 30 Aug 2019 12:41:08 -0000 Received: by mail-pf1-f178.google.com with SMTP id v12so4342019pfn.10 for ; Fri, 30 Aug 2019 03:13:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SIC3FwZpFizGfPAcl+Qfg42MelvoCJAK2r4aRB6hwdQ=; b=Ax192+Q7zcrmyh8nVMS5bIwX7QhQbeHUQLQd1U+60c0/Fyv7ntFgFVizfKYOxDI4Yk Fq8PxH0bI/sb5NO/Q7On//F2CL4HvdZ2gB+r2MJdy8wv/G7ZQGU6XlocgvLJfxVHXl7Y 2953Jt9Av2KIh+3AQWChv55M7NSaW9qWRLRk/I7Ua7GOv7JZzqFkeqVFVUPwyvnsBj2s GUpBs/rTenDAPAyo1Bj+b/pmhOrlFh+JW+V+F7I60kXehv+YoX7p7r4tdu1eQZUaopuP ne/37whA+WiySEMLQzJYsl5mPmwaWQpJ3cJSWonVDU2JOwHL166JMmGIRoIjWeGkz1fe 8DvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SIC3FwZpFizGfPAcl+Qfg42MelvoCJAK2r4aRB6hwdQ=; b=SA0/syekJ9wwkjH29uHF63OpWdPmPr5pe6Id4WVUDMjaRKnhrp5cM8KK4vJd8Vs4YO xvZjEMGIG7oB1X8MH8CiNO69njxA8NDiNTk43uT4t+qgTEr7wYKTx7atHq7qQDx3FsZf gN9Scw+dS/auTACqfKQ8CB4kVWQjJd0sKuRIlDy8MZhh0c5VXTtLYJqE1TUHzJeuYP8F +PRSxI52Euc31ukiXbqMpl9indVrpcavEVT8SaGNBN6AG5mnkorqTowBzvRkBp4oWzjJ HUkNQHg4sToSs2TzUhqqG1BWewe0CyOCMKjettxXD8K9yi23F0H9ZJfmQP6gdfJJDAIn eQfg== X-Gm-Message-State: APjAAAVB7LbJGfX3Tn1bUA+U7J8fNmdvob01fSRgTFvZcYJOp0ApQe6E KmmrDX7PSP3kWaSZV/FJ/3cuOJsqrNQO3Q8jRFE= X-Google-Smtp-Source: APXvYqyzMwKXxIh195skNzeRvMtl35LO6/y0UhZPRNf/KeB164SzDV7rKq2RhAo2XHUI4vjTdzLeUyeFnm49ei8ARPk= X-Received: by 2002:a17:90a:b884:: with SMTP id o4mr14729389pjr.52.1567160025127; Fri, 30 Aug 2019 03:13:45 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 30 Aug 2019 07:13:35 -0300 Message-ID: To: Arvids Godjuks Cc: Nikita Popov , PHP internals Content-Type: multipart/alternative; boundary="0000000000009a9ef7059152e0fc" Subject: Re: [PHP-DEV] Make error_reporting=E_ALL the default From: phansys@gmail.com (Javier Spagnoletti) --0000000000009a9ef7059152e0fc Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Great step! +1 Thank you so much Nikita. El vie., 30 de ago. de 2019 07:02, Arvids Godjuks escribi=C3=B3: > =D0=BF=D1=82, 30 =D0=B0=D0=B2=D0=B3. 2019 =D0=B3. =D0=B2 11:33, Nikita Po= pov : > > > Hi internals, > > > > Relating to the recent discussions on undefined variables & co. One thi= ng > > 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=3DE_ALL the defaul= t in > > PHP 8? It can of course still be manually downgraded via php.ini and > > php.ini-production will retain the existing recommendation that exclude= s > > 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=C4=ABds Godjuks > > +371 26 851 664 > arvids.godjuks@gmail.com > Skype: psihius > Telegram: @psihius https://t.me/psihius > --0000000000009a9ef7059152e0fc--