We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e74e58 commit 3a258f7Copy full SHA for 3a258f7
Zend/zend_execute_API.c
@@ -558,7 +558,7 @@ ZEND_API zend_string *get_active_function_or_method_name(void) /* {{{ */
558
559
ZEND_API zend_string *get_function_or_method_name(const zend_function *func) /* {{{ */
560
{
561
- if (func->common.scope) {
+ if (func->common.scope && func->common.function_name) {
562
return zend_create_member_string(func->common.scope->name, func->common.function_name);
563
}
564
0 commit comments