Re: [RFC] Reclassifying engine warnings

From: Date: Wed, 28 Aug 2019 14:47:17 +0000
Subject: Re: [RFC] Reclassifying engine warnings
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-106734@lists.php.net to get a copy of this message
On 28 August 2019 15:24:33 BST, Mark Randall <markyr@gmail.com> wrote: >By the very nature of using @ to suppress error messages, the examples >given are all fully aware that the behaviour they are using is not good practice. I think that is a fault in the examples. I have never seen @ used to squash these messages, but have frequently worked with codebases where logging at the E_NOTICE level would have filled megabytes of log file in minutes. As I said earlier, the fact that something is bad practice doesn't stop it being difficult to locate and change. The requests for a deprecation period, or an opt-in mode, are about that change, not a disagreement about the principle. Regards, -- Rowan Collins [IMSoP]

« previous php.internals (#106734) next »