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 82dae61 commit 5081aa0Copy full SHA for 5081aa0
Zend/zend_execute_API.c
@@ -504,7 +504,7 @@ ZEND_API zend_string *get_active_function_or_method_name(void) /* {{{ */
504
505
ZEND_API zend_string *get_function_or_method_name(const zend_function *func) /* {{{ */
506
{
507
- if (func->common.scope) {
+ if (func->common.scope && func->common.function_name) {
508
return zend_create_member_string(func->common.scope->name, func->common.function_name);
509
}
510
0 commit comments