1
0
mirror of https://github.com/php/php-src.git synced 2026-04-15 20:11:02 +02:00

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
  Add missing "return"
This commit is contained in:
Dmitry Stogov
2021-12-03 13:52:29 +03:00

View File

@@ -1241,6 +1241,7 @@ static void ZEND_FASTCALL zend_jit_assign_dim_helper(zval *object_ptr, zval *dim
ZVAL_UNDEF(result);
}
}
return;
} else if (EXPECTED(Z_TYPE_P(object_ptr) == IS_STRING) && EXPECTED(dim != NULL)) {
zend_assign_to_string_offset(object_ptr, dim, value, result);
return;