summaryrefslogtreecommitdiff
path: root/Zend
diff options
context:
space:
mode:
authorPierrick Charron <pierrick@php.net>2011-08-07 06:19:43 +0000
committerPierrick Charron <pierrick@php.net>2011-08-07 06:19:43 +0000
commitb90059120d34123cbd234ef7e56b39ecaf276b6b (patch)
tree3192734a455098a17c9c368ee76c7148655b7410 /Zend
parenta8ed880c640bdba8d5ac6761a8cdb28411995673 (diff)
downloadphp-git-b90059120d34123cbd234ef7e56b39ecaf276b6b.tar.gz
function_name cannot be false
Diffstat (limited to 'Zend')
-rw-r--r--Zend/zend_builtin_functions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c
index c4917ecac2..ce972a3ba8 100644
--- a/Zend/zend_builtin_functions.c
+++ b/Zend/zend_builtin_functions.c
@@ -2157,7 +2157,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);