Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106729 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 82776 invoked from network); 28 Aug 2019 16:48:17 -0000 Received: from unknown (HELO mail-io1-f47.google.com) (209.85.166.47) by pb1.pair.com with SMTP; 28 Aug 2019 16:48:17 -0000 Received: by mail-io1-f47.google.com with SMTP id 18so6126803ioe.10 for ; Wed, 28 Aug 2019 07:20:27 -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=e+8ySw1Z3qT5wupqFPX7OZqE+8WWPcdmDfDginRLSu0=; b=Tl8bEX+SArRLElSuo//8zKoevl3ZKOyx2S94g3ZzaGS/X786ch3iWdhQpQTlcOlf8q gYkEv/PBVcGISO53IKKzghh9Nw9dJXBDSAyxtrIT9UjLtW8VM60Pe0nDfBStvP/vO031 wGKgNlroy2iR0jKuspMt1QtOnQGTMoPGcbu+8NT/94YLcCQVVgy/35ADq6viAJsY5nPi Bkbe6eApnnHZA9ijeKDGHdZm9FbtXDWcEfdy4/1ZRiXToT1tLVfUqmP7QrYMxmGIbUg0 iNKZ2PTpKcKh3i35psn6wU6AFzngcwIvgI/UHAHmMnOOALKL5NJD8leIu9R59DMDYJ0O /5Uw== 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=e+8ySw1Z3qT5wupqFPX7OZqE+8WWPcdmDfDginRLSu0=; b=aVLJyBvtHvKm3v7RMZcwoPBArohWH7iyz4YHCoSH2Mokm3TlNlKwuH8/V1j3PHJ1Tf +bauePNVOtBguUm0x+LCs4udjf5Vl1uwUNr8an38RmtBQUJcbfI81Zszc4NkQKGC1g9n SLVg+UmJiUIxrWjOqSEi6mDUlory9O6ZU3Qfi2TCoYJtZfKiUhdybhMuoc44vSrP87hp VDRs9V36X0M+e4TNq/aUh9INEJYYZYkCeb06Ed9AKeLUKSfGrUpMhH4F5E6Xg1bHwmSh es9kiHGu4Z0EsgaIIya5TTJV6UGglBXKNzRk8Es4IypRAfxLCHQutu3joWyRezauJQzZ 8lWA== X-Gm-Message-State: APjAAAUSJZyTAcWT2d1/z8OP8L2Rox0pToFlC7KzC6EOMzJkCJEyM4jt XRMn2Wuf4eSDwZuTxGAk4MkL/Pg99g/BDbNFMJg= X-Google-Smtp-Source: APXvYqyfsr/5z7ckok9tHrW80jOpGqUkZCkCag54j24RSzgVHetu/54oY3BYef8ytCjMn7iyKVn6OFRSybWTCUVLxL4= X-Received: by 2002:a6b:3943:: with SMTP id g64mr4876006ioa.225.1567002026585; Wed, 28 Aug 2019 07:20:26 -0700 (PDT) MIME-Version: 1.0 References: <7ddbae5c-7451-4094-8b32-19676128054b@thelounge.net> In-Reply-To: Date: Wed, 28 Aug 2019 16:20:15 +0200 Message-ID: To: Chase Peeler Cc: PHP internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] [RFC] Reclassifying engine warnings From: gertp93@gmail.com (Gert) Maybe i'm misunderstanding something here, but what does turning notices into deprecations achieve? Because if you have deprecation notices being logged then it shouldn't be extra work to log notices/warnings as well right? On Wed, 28 Aug 2019 at 16:16, Chase Peeler wrote: > > Well, one reason I was so vocal about short tags wasn't a love for short > tags themselves. It wasn't even to prevent the detrimental effects of > removing them. Honestly, the 2nd RFC wasn't a horrible option. It was more > about the precedent that it set - pushing huge BC breaks on the users (most > of which are voiceless in the process, because they aren't involved in the > community at all, most not really aware there is anything to be involved > with) with little, if any, positive gain. > > Let's see how this plays out a bit longer. It's too early to tell if it's a > dying attempt to keep pushing those type of changes, which are destined to > be rejected, or, evidence that we are still in danger of having such a > precedent set. > > > > On Wed, Aug 28, 2019 at 10:11 AM Chase Peeler wrote: > > > > > > > On Wed, Aug 28, 2019 at 9:55 AM Reindl Harald > > wrote: > > > >> > >> > >> Am 28.08.19 um 15:48 schrieb Chase Peeler: > >> > If it is still done, then I think a deprecation path is a must. As > >> > mentioned earlier, this doesn't necessarily mean E_DEPRECATION messages > >> - > >> > warnings will work too. The key is that error logs with more urgency > >> than > >> > notices are created that users can use to track down and fix issues. > >> > >> hell, there are notices for at least a decade > >> > >> error_log = "/var/log/php_error.log" > >> error_reporting = E_ALL > >> display_errors = 1 > >> > >> this is my development *as well* production config on every machine > >> since 16 years now and every warning/notice get fixed because every 30 > >> minutes the errorlog get mailed to every developer and admin > >> > >> turn logging on and start cleanup what you would have had a decade time. > > > > > > Am I the only one getting tired of people telling me how I need to operate > > just like they do? Everyone's circumstances are different. Just because > > something is easy for you, or works well for you, doesn't mean it's easy or > > even feasible for someone else. I've learned it's useless to try to explain > > how my situation might not be exactly like everyone else's, so I'm not > > going to waste the time doing it again. > > > > Why can't anyone see that taking on these myopic "My situation is the only > > valid situation" views are going to kill this language. > > > > "I always initialize my variables, so, it's no big deal if everyone else > > is forced to do so." > > "I was able to find and replace all the short tags in my code in 5 > > minutes, so it should be easy for everyone else to do as well." > > "We fix every single notice within 30 minutes of it popping up in a log. > > You should be able to do that as well." > > etc. etc. etc. > > > > Also, if you are going to try and tell me how I should my job, at least > > have the guts to reply to the entire list instead of sending it to me in a > > private reply. I'm obviously not afraid to turn around to make your reply > > public, so it'll save everyone a bit of time. > > > > -- > > Chase Peeler > > chasepeeler@gmail.com > > > > > -- > Chase Peeler > chasepeeler@gmail.com