Re: [PATCH] fix for bug #23505
| From: | Moriyoshi Koizumi | Date: | Thu, 15 May 2003 18:41:22 +0000 |
| Subject: | Re: [PATCH] fix for bug #23505 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-1546@lists.php.net to get a copy of this message | ||
ops, it looks like I forgot to remove an unnessary C++ style comment :-)
Please exclude it on the commit.
Thanks
Moriyoshi
Index: Zend/zend_builtin_functions.c =================================================================== RCS file: /repository/Zend/zend_builtin_functions.c,v retrieving revision 1.124.2.4 diff -u -r1.124.2.4 zend_builtin_functions.c --- Zend/zend_builtin_functions.c 31 Dec 2002 16:22:58 -0000 1.124.2.4 +++ Zend/zend_builtin_functions.c 15 May 2003 18:35:32 -0000 @@ -1233,7 +1233,7 @@ filename = NULL; } - function_name = ptr->function_state.function->common.function_name; + function_name = ptr->function_state.function->type != ZEND_OVERLOADED_FUNCTION ? ptr->function_state.function->common.function_name: get_active_function_name(); if (function_name) { add_assoc_string_ex(stack_frame, "function", sizeof("function"), function_name, 1);
Index: Zend/zend_builtin_functions.c =================================================================== RCS file: /repository/Zend/zend_builtin_functions.c,v retrieving revision 1.124.2.4 diff -u -r1.124.2.4 zend_builtin_functions.c --- Zend/zend_builtin_functions.c 31 Dec 2002 16:22:58 -0000 1.124.2.4 +++ Zend/zend_builtin_functions.c 15 May 2003 18:35:32 -0000 @@ -1233,7 +1233,7 @@ filename = NULL; } - function_name = ptr->function_state.function->common.function_name; + function_name = ptr->function_state.function->type != ZEND_OVERLOADED_FUNCTION ? ptr->function_state.function->common.function_name: get_active_function_name(); if (function_name) { add_assoc_string_ex(stack_frame, "function", sizeof("function"), function_name, 1);