Req #76467 [Opn]: backtrace for "Maximum execution time"
| From: | php dot net at shwups dot ch | Date: | Wed, 13 Jun 2018 10:51:51 +0000 |
| Subject: | Req #76467 [Opn]: backtrace for "Maximum execution time" | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-215680@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76467&edit=1
ID: 76467
User updated by: php dot net at shwups dot ch
Reported by: php dot net at shwups dot ch
Summary: backtrace for "Maximum execution time"
Status: Open
Type: Feature/Change Request
Package: Unknown/Other Function
Operating System: centos 7
PHP Version: 7.2.7RC1
Block user comment: N
Private report: N
New Comment:
Sorry i know there is not "$error['backtrace']"
But some fatals have "Stack trace" in the error-message
Previous Comments:
------------------------------------------------------------------------
[2018-06-13 10:41:33] php dot net at shwups dot ch
Description:
------------
It would be really helpful if I had a backtrace for my "Maximum Execution Time" errors.
Is that possible?
register_shutdown_function(function() {
$error = error_get_last();
if ($error !== null) {
// no $error['backtrace']; :(
}
}
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76467&edit=1