@@ -17596,7 +17596,9 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_binary_assign_op_dim_helper_SP
17596
17596
zend_throw_error(NULL, "[] operator not supported for strings");
17597
17597
} else {
17598
17598
zend_check_string_offset(dim, BP_VAR_RW);
17599
- zend_wrong_string_offset();
17599
+ if (EXPECTED(EG(exception) == NULL)) {
17600
+ zend_wrong_string_offset();
17601
+ }
17600
17602
}
17601
17603
} else if (EXPECTED(Z_TYPE_P(container) <= IS_FALSE)) {
17602
17604
goto assign_dim_op_convert_to_array;
@@ -21014,7 +21016,9 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_binary_assign_op_dim_helper_SP
21014
21016
zend_throw_error(NULL, "[] operator not supported for strings");
21015
21017
} else {
21016
21018
zend_check_string_offset(dim, BP_VAR_RW);
21017
- zend_wrong_string_offset();
21019
+ if (EXPECTED(EG(exception) == NULL)) {
21020
+ zend_wrong_string_offset();
21021
+ }
21018
21022
}
21019
21023
} else if (EXPECTED(Z_TYPE_P(container) <= IS_FALSE)) {
21020
21024
goto assign_dim_op_convert_to_array;
@@ -22385,7 +22389,9 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_binary_assign_op_dim_helper_SP
22385
22389
zend_throw_error(NULL, "[] operator not supported for strings");
22386
22390
} else {
22387
22391
zend_check_string_offset(dim, BP_VAR_RW);
22388
- zend_wrong_string_offset();
22392
+ if (EXPECTED(EG(exception) == NULL)) {
22393
+ zend_wrong_string_offset();
22394
+ }
22389
22395
}
22390
22396
} else if (EXPECTED(Z_TYPE_P(container) <= IS_FALSE)) {
22391
22397
goto assign_dim_op_convert_to_array;
@@ -25330,7 +25336,9 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_binary_assign_op_dim_helper_SP
25330
25336
zend_throw_error(NULL, "[] operator not supported for strings");
25331
25337
} else {
25332
25338
zend_check_string_offset(dim, BP_VAR_RW);
25333
- zend_wrong_string_offset();
25339
+ if (EXPECTED(EG(exception) == NULL)) {
25340
+ zend_wrong_string_offset();
25341
+ }
25334
25342
}
25335
25343
} else if (EXPECTED(Z_TYPE_P(container) <= IS_FALSE)) {
25336
25344
goto assign_dim_op_convert_to_array;
@@ -37055,7 +37063,9 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_binary_assign_op_dim_helper_SP
37055
37063
zend_throw_error(NULL, "[] operator not supported for strings");
37056
37064
} else {
37057
37065
zend_check_string_offset(dim, BP_VAR_RW);
37058
- zend_wrong_string_offset();
37066
+ if (EXPECTED(EG(exception) == NULL)) {
37067
+ zend_wrong_string_offset();
37068
+ }
37059
37069
}
37060
37070
} else if (EXPECTED(Z_TYPE_P(container) <= IS_FALSE)) {
37061
37071
goto assign_dim_op_convert_to_array;
@@ -41665,7 +41675,9 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_binary_assign_op_dim_helper_SP
41665
41675
zend_throw_error(NULL, "[] operator not supported for strings");
41666
41676
} else {
41667
41677
zend_check_string_offset(dim, BP_VAR_RW);
41668
- zend_wrong_string_offset();
41678
+ if (EXPECTED(EG(exception) == NULL)) {
41679
+ zend_wrong_string_offset();
41680
+ }
41669
41681
}
41670
41682
} else if (EXPECTED(Z_TYPE_P(container) <= IS_FALSE)) {
41671
41683
goto assign_dim_op_convert_to_array;
@@ -44149,7 +44161,9 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_binary_assign_op_dim_helper_SP
44149
44161
zend_throw_error(NULL, "[] operator not supported for strings");
44150
44162
} else {
44151
44163
zend_check_string_offset(dim, BP_VAR_RW);
44152
- zend_wrong_string_offset();
44164
+ if (EXPECTED(EG(exception) == NULL)) {
44165
+ zend_wrong_string_offset();
44166
+ }
44153
44167
}
44154
44168
} else if (EXPECTED(Z_TYPE_P(container) <= IS_FALSE)) {
44155
44169
goto assign_dim_op_convert_to_array;
@@ -48220,7 +48234,9 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_binary_assign_op_dim_helper_SP
48220
48234
zend_throw_error(NULL, "[] operator not supported for strings");
48221
48235
} else {
48222
48236
zend_check_string_offset(dim, BP_VAR_RW);
48223
- zend_wrong_string_offset();
48237
+ if (EXPECTED(EG(exception) == NULL)) {
48238
+ zend_wrong_string_offset();
48239
+ }
48224
48240
}
48225
48241
} else if (EXPECTED(Z_TYPE_P(container) <= IS_FALSE)) {
48226
48242
goto assign_dim_op_convert_to_array;
0 commit comments