mirror of
https://github.com/php/php-src.git
synced 2024-09-23 10:57:26 +00:00
fix duplicate message on print .func if no active class
This commit is contained in:
parent
4283b125c9
commit
187d1c726b
@ -178,7 +178,7 @@ PHPDBG_PRINT(func) /* {{{ */
|
||||
func_table = &EG(scope)->function_table;
|
||||
} else {
|
||||
phpdbg_error("No active class");
|
||||
return FAILURE;
|
||||
return SUCCESS;
|
||||
}
|
||||
} else if (!EG(function_table)) {
|
||||
phpdbg_error("No function table loaded");
|
||||
|
Loading…
Reference in New Issue
Block a user