Skip to content

Commit 82e3dd2

Browse files
committed
Combine and pass dim_type
1 parent 75d65aa commit 82e3dd2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Zend/zend_execute.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2389,8 +2389,7 @@ static zend_always_inline void zend_fetch_dimension_address_read(zval *result, z
23892389
}
23902390
}
23912391
if (!is_list && EXPECTED(Z_TYPE_P(container) == IS_STRING)) {
2392-
zend_long offset;
2393-
offset = zend_check_string_offset(dim, BP_VAR_IS EXECUTE_DATA_CC);
2392+
zend_long offset = zend_check_string_offset(dim, dim_type EXECUTE_DATA_CC);
23942393
/* Illegal offset */
23952394
if (UNEXPECTED(EG(exception) != NULL)) {
23962395
ZVAL_NULL(result);

0 commit comments

Comments
 (0)