mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fix class name in warning of frameless calls (#13619)
This commit is contained in:
parent
089ef2ac61
commit
6db06a7c0f
2 changed files with 20 additions and 1 deletions
|
@ -507,7 +507,7 @@ ZEND_API const char *get_active_class_name(const char **space) /* {{{ */
|
|||
return "";
|
||||
}
|
||||
|
||||
func = EG(current_execute_data)->func;
|
||||
func = zend_active_function();
|
||||
|
||||
switch (func->type) {
|
||||
case ZEND_USER_FUNCTION:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue