]> 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:05:56 +0000 (19:05 +0000)
committerStanislav Malyshev <stas@php.net>
Tue, 1 Feb 2005 19:05:56 +0000 (19:05 +0000)
Zend/zend_builtin_functions.c

index 93c64223f4865a00b198e257efcbd329b4371a32..1a652e3a3c8e576b98cbe41e281c8e5757cccb1d 100644 (file)
@@ -1600,6 +1600,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;