Skip to content

Commit

Permalink
Functions with static variables are not separated anymore.
Browse files Browse the repository at this point in the history
9a1da9f missed this part.
  • Loading branch information
dstogov committed Jun 10, 2021
1 parent 9ef313d commit b0dcc4c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ext/opcache/zend_persist_calc.c
Expand Up @@ -330,7 +330,6 @@ static void zend_persist_class_method_calc(zval *zv)
}

if ((op_array->fn_flags & ZEND_ACC_IMMUTABLE)
&& !op_array->static_variables
&& !ZCG(current_persistent_script)->corrupted
&& zend_accel_in_shm(op_array)) {
zend_shared_alloc_register_xlat_entry(op_array, op_array);
Expand Down

0 comments on commit b0dcc4c

Please sign in to comment.