1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 11:13:36 +02:00

function_name cannot be false

This commit is contained in:
Pierrick Charron
2011-08-07 06:19:43 +00:00
parent 029d7f4c6c
commit bfd10cfee9
+1 -1
View File
@@ -2047,7 +2047,7 @@ ZEND_FUNCTION(debug_print_backtrace)
ZEND_PUTS(class_name);
ZEND_PUTS(call_type);
}
zend_printf("%s(", function_name?function_name:"main");
zend_printf("%s(", function_name);
if (arg_array) {
debug_print_backtrace_args(arg_array TSRMLS_CC);
zval_ptr_dtor(&arg_array);