[RFC] [Discussion] Error backtraces v2

From: Date: Thu, 05 Dec 2024 20:57:48 +0000
Subject: [RFC] [Discussion] Error backtraces v2
Groups: php.internals 
Request: Send a blank email to internals+get-126110@lists.php.net to get a copy of this message
Hello yet again internals, I'd like to formally propose a continuation of the original error backtraces RFC (https://wiki.php.net/rfc/error_backtraces): https://wiki.php.net/rfc/error_backtraces_v2 We recently had a production incident that might have been shortened, had we been able to identify an errant infinite loop in our code from the backtrace of a PHP timeout error. It's likely that there are plenty of other error conditions that would be easier to debug with a stacktrace, too. The original RFC is inactive, but I've read the proposal and resulting discussion and I believe that @nikic's suggestion is a viable way to address the RFC's issues. I've implemented that suggestion here: https://github.com/php/php-src/pull/17056 The RFC currently has two voting choices, the first is to accept an INI setting to configure an error mask for backtraces, and the second is to choose the default value for the error mask. Please take a look at let me know what you think. Thank you!

« previous php.internals (#126110) next »