Skip to content

Commit ca82731

Browse files
committed
Handle one more case in zend_jit_prepare_assign_dim_ref()
1 parent f9d56bd commit ca82731

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ext/opcache/jit/zend_jit_helpers.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1926,6 +1926,9 @@ static zval * ZEND_FASTCALL zend_jit_prepare_assign_dim_ref(zval *ref) {
19261926
&& !zend_verify_ref_array_assignable(Z_REF_P(ref))) {
19271927
return NULL;
19281928
}
1929+
if (Z_TYPE_P(val) == IS_FALSE) {
1930+
zend_false_to_array_deprecated();
1931+
}
19291932
ZVAL_ARR(val, zend_new_array(8));
19301933
}
19311934
return val;

0 commit comments

Comments
 (0)