zend_throw_error(NULL, "[] operator not supported for strings");
} else {
zend_check_string_offset(dim, BP_VAR_RW);
- zend_wrong_string_offset();
+ if (EXPECTED(EG(exception) == NULL)) {
+ zend_wrong_string_offset();
+ }
}
} else if (EXPECTED(Z_TYPE_P(container) <= IS_FALSE)) {
goto assign_dim_op_convert_to_array;
zend_throw_error(NULL, "[] operator not supported for strings");
} else {
zend_check_string_offset(dim, BP_VAR_RW);
- zend_wrong_string_offset();
+ if (EXPECTED(EG(exception) == NULL)) {
+ zend_wrong_string_offset();
+ }
}
} else if (EXPECTED(Z_TYPE_P(container) <= IS_FALSE)) {
goto assign_dim_op_convert_to_array;
zend_throw_error(NULL, "[] operator not supported for strings");
} else {
zend_check_string_offset(dim, BP_VAR_RW);
- zend_wrong_string_offset();
+ if (EXPECTED(EG(exception) == NULL)) {
+ zend_wrong_string_offset();
+ }
}
} else if (EXPECTED(Z_TYPE_P(container) <= IS_FALSE)) {
goto assign_dim_op_convert_to_array;
zend_throw_error(NULL, "[] operator not supported for strings");
} else {
zend_check_string_offset(dim, BP_VAR_RW);
- zend_wrong_string_offset();
+ if (EXPECTED(EG(exception) == NULL)) {
+ zend_wrong_string_offset();
+ }
}
} else if (EXPECTED(Z_TYPE_P(container) <= IS_FALSE)) {
goto assign_dim_op_convert_to_array;
zend_throw_error(NULL, "[] operator not supported for strings");
} else {
zend_check_string_offset(dim, BP_VAR_RW);
- zend_wrong_string_offset();
+ if (EXPECTED(EG(exception) == NULL)) {
+ zend_wrong_string_offset();
+ }
}
} else if (EXPECTED(Z_TYPE_P(container) <= IS_FALSE)) {
goto assign_dim_op_convert_to_array;
zend_throw_error(NULL, "[] operator not supported for strings");
} else {
zend_check_string_offset(dim, BP_VAR_RW);
- zend_wrong_string_offset();
+ if (EXPECTED(EG(exception) == NULL)) {
+ zend_wrong_string_offset();
+ }
}
} else if (EXPECTED(Z_TYPE_P(container) <= IS_FALSE)) {
goto assign_dim_op_convert_to_array;
zend_throw_error(NULL, "[] operator not supported for strings");
} else {
zend_check_string_offset(dim, BP_VAR_RW);
- zend_wrong_string_offset();
+ if (EXPECTED(EG(exception) == NULL)) {
+ zend_wrong_string_offset();
+ }
}
} else if (EXPECTED(Z_TYPE_P(container) <= IS_FALSE)) {
goto assign_dim_op_convert_to_array;
zend_throw_error(NULL, "[] operator not supported for strings");
} else {
zend_check_string_offset(dim, BP_VAR_RW);
- zend_wrong_string_offset();
+ if (EXPECTED(EG(exception) == NULL)) {
+ zend_wrong_string_offset();
+ }
}
} else if (EXPECTED(Z_TYPE_P(container) <= IS_FALSE)) {
goto assign_dim_op_convert_to_array;