mirror of
https://github.com/php/php-src.git
synced 2026-04-23 16:08:35 +02:00
Fixed arguments unpacking segfault with opcache
This commit is contained in:
committed by
Xinchen Hui
parent
58dff7cee5
commit
a5ee337156
@@ -126,7 +126,12 @@ static void optimize_func_calls(zend_op_array *op_array, zend_persistent_script
|
||||
call_stack[call - 1].opline = NULL;
|
||||
}
|
||||
break;
|
||||
|
||||
#if ZEND_EXTENSION_API_NO >= PHP_5_6_X_API_NO
|
||||
case ZEND_SEND_UNPACK:
|
||||
call_stack[call - 1].func = NULL;
|
||||
call_stack[call - 1].opline = NULL;
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user