Re: Future stability of PHP?

From: Date: Wed, 12 Apr 2023 07:08:50 +0000
Subject: Re: Future stability of PHP?
References: 1 2 3 4 5 6 7 8 9 10 11 12  Groups: php.internals 
Request: Send a blank email to internals+get-119944@lists.php.net to get a copy of this message
Hi On 4/11/23 18:32, Jeffrey Dafoe wrote:
I’m unsure if it’s practical to run deprecations on in prod and our test suite, although substantial, doesn’t cover all code paths. You should be able to enable deprecations in production and then check the type of error within your error handler. If it's E_DEPRECATED the error goes into a separate log file / is sent to a separate error collection endpoint and execution continues, whereas any E_NOTICE or E_WARNING is converted to an Exception and execution is aborted.
Best regards Tim Düsterhus

« previous php.internals (#119944) next »