From: Joe Watkins Date: Mon, 23 Jan 2017 05:33:58 +0000 (+0000) Subject: move decl to correct place X-Git-Tag: php-7.1.2RC1~30^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d636467937fcfbd708f2b06c9e060bcbe9a63679;p=php move decl to correct place --- diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c index 8f77eb4f6d..547d3f0b8f 100644 --- a/Zend/zend_builtin_functions.c +++ b/Zend/zend_builtin_functions.c @@ -2364,8 +2364,9 @@ ZEND_FUNCTION(debug_print_backtrace) object = Z_OBJ(call->This); if (call->func) { - func = call->func; zend_string *zend_function_name; + + func = call->func; if (func->common.scope && func->common.scope->trait_aliases) { zend_function_name = zend_resolve_method_name(object ? object->ce : func->common.scope, func); } else {