mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fixed debug backtrace
This commit is contained in:
parent
c077742b2a
commit
fdd1f74e37
1 changed files with 3 additions and 1 deletions
|
@ -2058,7 +2058,9 @@ ZEND_FUNCTION(debug_print_backtrace)
|
|||
Z_OBJCE(ptr->object) :
|
||||
ptr->function_state.function->common.scope,
|
||||
ptr->function_state.function)->val :
|
||||
ptr->function_state.function->common.function_name->val;
|
||||
(ptr->function_state.function->common.function_name ?
|
||||
ptr->function_state.function->common.function_name->val :
|
||||
NULL);
|
||||
|
||||
if (function_name) {
|
||||
if (Z_TYPE(ptr->object) != IS_UNDEF) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue