Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106815 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 95816 invoked from network); 30 Aug 2019 13:54:41 -0000 Received: from unknown (HELO mail-ot1-f42.google.com) (209.85.210.42) by pb1.pair.com with SMTP; 30 Aug 2019 13:54:41 -0000 Received: by mail-ot1-f42.google.com with SMTP id p23so6627023oto.0 for ; Fri, 30 Aug 2019 04:27:20 -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=Ism3mloMTwH0YZlCn6NsPMSlwEOwxrtUCuGYm/naFkg=; b=OwcGxwvjH9xxHCe29PS2toxozHyxPEkdLAnZ/sBkS9Xud9HJ6tp8/uD+158k7jGRu8 +JXVzUbGZ9nIK6HfURgeT7vhueSFyjCVu5A50qdyKCReGDxxKLxZ9L3yuUvUKTHqCO2M U46FQIDQ7g5TUy6hAGuurya6K8DMgkc5hUwUyfweTG0/JtEcJvIiZ/pSJJtR4Nwg6kfu +IKY9F/1bsnwCmF8BEFuNFHftSyx3eLRiVXQObOtivIhcuHu56kMRBvHSZHOygRU43kj tk6dEOgRkuxHlQMN2plJiIYjmDuWS40R/NO7pX9mN2e69pwGF1Otb3UvQmSfHmfGdTZv vlwA== 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=Ism3mloMTwH0YZlCn6NsPMSlwEOwxrtUCuGYm/naFkg=; b=BjJkmkIMvfQeKlckBWMXsngA4je710RfRUISfJgtZys/fPt5di8tfsRgeJI1WTWBgW h+e6J7I8w4PV2wHWcmi5wakyYX4KHen26RBXqdRKcCu+cJ2lwzk4jB5uMDJRbJeZQtbu i89SDG0J/X3sZCXdF15T/hcECVYHDyelveLeirqxhBbGyZ2I8U9emY45dIoFgWqdEEgy pb616mFJQ5bXAEBixX7pihDMa/B7ZRWfgMxNaTdfJ64vLKsP7L5RboUAAGw7NAirCe4t zSD5RCRXvFYdBFHzKtttpsGM68LNGE4ee2wk37GP6t39wCqwDmvZKJyGBdq9JB2V48BH dtkg== X-Gm-Message-State: APjAAAVKv3tCSHjvjHpD7HkbFgtcfcLnVTeVP+gGyw4qI/SuK+gSd+pn InlLCUBQ/iNCm2uU5RKs9WBNGVp16AXnQML9C0vddw== X-Google-Smtp-Source: APXvYqzdIVGaoxra1JpjVGTMQok7uhgW+3PBLqdZ8nmiLlkP7nQnBGdhgSJlLNHFM2JAWSdCgRsYq6/1zBI2Mv3Ug28= X-Received: by 2002:a05:6830:17d2:: with SMTP id p18mr11653529ota.113.1567164439576; Fri, 30 Aug 2019 04:27:19 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 30 Aug 2019 12:26:42 +0100 Message-ID: To: Javier Spagnoletti Cc: Arvids Godjuks , Nikita Popov , PHP internals Content-Type: multipart/alternative; boundary="000000000000b9c5f3059153e766" Subject: Re: [PHP-DEV] Make error_reporting=E_ALL the default From: oludonsexy@gmail.com (Olumide Samson) --000000000000b9c5f3059153e766 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable +1 On Fri, Aug 30, 2019, 11:13 AM Javier Spagnoletti wrote= : > Great step! +1 > Thank you so much Nikita. > > El vie., 30 de ago. de 2019 07:02, Arvids Godjuks < > arvids.godjuks@gmail.com> > escribi=C3=B3: > > > =D0=BF=D1=82, 30 =D0=B0=D0=B2=D0=B3. 2019 =D0=B3. =D0=B2 11:33, Nikita = Popov : > > > > > Hi internals, > > > > > > Relating to the recent discussions on undefined variables & co. One > thing > > > that is particularly annoying about the undefined variable case is th= at > > 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 y= ou > > > 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 defa= ult > 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=C4=ABds Godjuks > > > > +371 26 851 664 > > arvids.godjuks@gmail.com > > Skype: psihius > > Telegram: @psihius https://t.me/psihius > > > --000000000000b9c5f3059153e766--