]> granicus.if.org Git - php/commitdiff
Fix debug_trace with eval (patch from Antony Dovgal)
authorStanislav Malyshev <stas@php.net>
Tue, 1 Feb 2005 19:01:50 +0000 (19:01 +0000)
committerStanislav Malyshev <stas@php.net>
Tue, 1 Feb 2005 19:01:50 +0000 (19:01 +0000)
Zend/zend_builtin_functions.c

index a1d43623ca9b45282f39754de9616ee8698b68d8..4428828ac1865c7d366c39657ed40da4544cd325 100644 (file)
@@ -1592,6 +1592,7 @@ ZEND_FUNCTION(debug_print_backtrace)
 
        while (ptr) {
                class_name = call_type = NULL;   
+               arg_array = NULL;
                if (ptr->op_array) {
                        filename = ptr->op_array->filename;
                        lineno = ptr->opline->lineno;