pierrick                                 Sun, 07 Aug 2011 06:19:43 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=314405

Log:
function_name cannot be false

Changed paths:
    U   php/php-src/branches/PHP_5_3/Zend/zend_builtin_functions.c
    U   php/php-src/branches/PHP_5_4/Zend/zend_builtin_functions.c
    U   php/php-src/trunk/Zend/zend_builtin_functions.c

Modified: php/php-src/branches/PHP_5_3/Zend/zend_builtin_functions.c
===================================================================
--- php/php-src/branches/PHP_5_3/Zend/zend_builtin_functions.c  2011-08-07 
06:15:47 UTC (rev 314404)
+++ php/php-src/branches/PHP_5_3/Zend/zend_builtin_functions.c  2011-08-07 
06:19:43 UTC (rev 314405)
@@ -2047,7 +2047,7 @@
                        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);

Modified: php/php-src/branches/PHP_5_4/Zend/zend_builtin_functions.c
===================================================================
--- php/php-src/branches/PHP_5_4/Zend/zend_builtin_functions.c  2011-08-07 
06:15:47 UTC (rev 314404)
+++ php/php-src/branches/PHP_5_4/Zend/zend_builtin_functions.c  2011-08-07 
06:19:43 UTC (rev 314405)
@@ -2157,7 +2157,7 @@
                        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);

Modified: php/php-src/trunk/Zend/zend_builtin_functions.c
===================================================================
--- php/php-src/trunk/Zend/zend_builtin_functions.c     2011-08-07 06:15:47 UTC 
(rev 314404)
+++ php/php-src/trunk/Zend/zend_builtin_functions.c     2011-08-07 06:19:43 UTC 
(rev 314405)
@@ -2157,7 +2157,7 @@
                        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);

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to