Skip to content

Commit 6159936

Browse files
committed
Disable optimization for comparison
1 parent 6b9f791 commit 6159936

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_compile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8613,7 +8613,7 @@ static zend_op_array *zend_compile_func_decl_ex(
86138613
&& !(op_array->fn_flags & ZEND_ACC_USES_THIS)
86148614
&& !CG(context).closure_may_use_this
86158615
&& !info.varvars_used) {
8616-
op_array->fn_flags |= ZEND_ACC_STATIC;
8616+
// op_array->fn_flags |= ZEND_ACC_STATIC;
86178617
}
86188618

86198619
if (is_method) {

0 commit comments

Comments
 (0)