mirror of
https://github.com/php/php-src.git
synced 2024-11-25 19:05:31 +08:00
fix crash #24550
This commit is contained in:
parent
91b4bca976
commit
399db3c846
@ -985,7 +985,7 @@ NEWLINE ("\r"|"\n"|"\r\n")
|
||||
|
||||
<ST_IN_SCRIPTING>"__METHOD__" {
|
||||
char *class_name = CG(active_class_entry) ? CG(active_class_entry)->name : NULL;
|
||||
char *func_name = CG(active_op_array)->function_name;
|
||||
char *func_name = CG(active_op_array)? CG(active_op_array)->function_name : NULL;
|
||||
size_t len = 0;
|
||||
|
||||
if (class_name) {
|
||||
|
Loading…
Reference in New Issue
Block a user