Skip to content

Commit f476acd

Browse files
committed
Fix JIT
1 parent 064af6e commit f476acd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/opcache/jit/zend_jit_helpers.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@ static zend_never_inline zend_long zend_check_string_offset(zval *dim/*, int typ
767767
break;
768768
}
769769

770-
return _zval_get_long_func(dim);
770+
return zval_get_long_func(dim, /* is_lax */ true);
771771
}
772772

773773
static zend_always_inline zend_string* zend_jit_fetch_dim_str_offset(zend_string *str, zend_long offset)
@@ -834,7 +834,7 @@ static void ZEND_FASTCALL zend_jit_fetch_dim_str_is_helper(zend_string *str, zva
834834
break;
835835
}
836836

837-
offset = _zval_get_long_func(dim);
837+
offset = zval_get_long_func(dim, /* is_lax */ true);
838838
} else {
839839
offset = Z_LVAL_P(dim);
840840
}

0 commit comments

Comments
 (0)