Skip to content

Commit b0dcc4c

Browse files
committed
Functions with static variables are not separated anymore.
9a1da9f missed this part.
1 parent 9ef313d commit b0dcc4c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ext/opcache/zend_persist_calc.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,6 @@ static void zend_persist_class_method_calc(zval *zv)
330330
}
331331

332332
if ((op_array->fn_flags & ZEND_ACC_IMMUTABLE)
333-
&& !op_array->static_variables
334333
&& !ZCG(current_persistent_script)->corrupted
335334
&& zend_accel_in_shm(op_array)) {
336335
zend_shared_alloc_register_xlat_entry(op_array, op_array);

0 commit comments

Comments
 (0)