Re: [PHP-DEV] [RFC] Reclassifying engine warnings

  106734
August 28, 2019 14:47 rowan.collins@gmail.com (Rowan Collins)
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]