1
0
mirror of https://github.com/php/php-src.git synced 2026-04-18 05:21:02 +02:00

Fixed debug backtrace

This commit is contained in:
Dmitry Stogov
2014-02-25 17:11:55 +04:00
parent c077742b2a
commit fdd1f74e37

View File

@@ -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) {