Browse Source

fix for 28213.

class_name and call_type should be reinitialized on every loop iter.
PHP-5.0
George Schlossnagle 22 years ago
parent
commit
6d182a8456
  1. 1
      Zend/zend_builtin_functions.c

1
Zend/zend_builtin_functions.c

@ -1484,6 +1484,7 @@ ZEND_FUNCTION(debug_print_backtrace)
array_init(return_value);
while (ptr) {
class_name = call_type = NULL;
if (ptr->op_array) {
filename = ptr->op_array->filename;
lineno = ptr->opline->lineno;

Loading…
Cancel
Save