Skip to content

Commit c62d759

Browse files
committed
Fix JIT
1 parent 75172cc commit c62d759

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
@@ -731,7 +731,7 @@ static zend_never_inline zend_long zend_check_string_offset(zval *dim/*, int typ
731731
break;
732732
}
733733

734-
return _zval_get_long_func(dim);
734+
return zval_get_long_func(dim, /* is_lax */ true);
735735
}
736736

737737
static zend_always_inline zend_string* zend_jit_fetch_dim_str_offset(zend_string *str, zend_long offset)
@@ -798,7 +798,7 @@ static void ZEND_FASTCALL zend_jit_fetch_dim_str_is_helper(zend_string *str, zva
798798
break;
799799
}
800800

801-
offset = _zval_get_long_func(dim);
801+
offset = zval_get_long_func(dim, /* is_lax */ true);
802802
} else {
803803
offset = Z_LVAL_P(dim);
804804
}

0 commit comments

Comments
 (0)