php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #76467 backtrace for "Maximum execution time"
Submitted: 2018-06-13 10:41 UTC Modified: 2018-06-13 10:51 UTC
Votes:5
Avg. Score:5.0 ± 0.0
Reproduced:5 of 5 (100.0%)
Same Version:2 (40.0%)
Same OS:1 (20.0%)
From: php dot net at shwups dot ch Assigned:
Status: Open Package: Unknown/Other Function
PHP Version: 7.2.7RC1 OS: centos 7
Private report: No CVE-ID: None
 [2018-06-13 10:41 UTC] 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']; :(
	}
}


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-06-13 10:51 UTC] php dot net at shwups dot ch
Sorry i know there is not "$error['backtrace']"
But some fatals have "Stack trace" in the error-message
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Nov 25 10:01:32 2024 UTC