summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Watkins <krakjoe@php.net>2017-01-23 05:33:58 +0000
committerJoe Watkins <krakjoe@php.net>2017-01-23 05:33:58 +0000
commitd636467937fcfbd708f2b06c9e060bcbe9a63679 (patch)
treeb4ed57865ffa34df1b4f09a5a2bfd576214a1f11
parent6f912f7c045ae723d01a24504bf0ae0711fd8a4f (diff)
downloadphp-git-d636467937fcfbd708f2b06c9e060bcbe9a63679.tar.gz
move decl to correct place
-rw-r--r--Zend/zend_builtin_functions.c3
1 files changed, 2 insertions, 1 deletions
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 {