@@ -24589,6 +24589,8 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL ZEND_UNSET_DIM_SPEC_VAR_CONST_HANDL
24589
24589
zend_throw_error(NULL, "Cannot unset string offsets");
24590
24590
} else if (UNEXPECTED(Z_TYPE_P(container) > IS_FALSE)) {
24591
24591
zend_throw_error(NULL, "Cannot unset offset in a non-array variable");
24592
+ } else if (UNEXPECTED(Z_TYPE_P(container) == IS_FALSE)) {
24593
+ zend_error(E_DEPRECATED, "Unsetting offset in a false variable is deprecated");
24592
24594
}
24593
24595
} while (0);
24594
24596
@@ -26785,6 +26787,8 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL ZEND_UNSET_DIM_SPEC_VAR_TMPVAR_HAND
26785
26787
zend_throw_error(NULL, "Cannot unset string offsets");
26786
26788
} else if (UNEXPECTED(Z_TYPE_P(container) > IS_FALSE)) {
26787
26789
zend_throw_error(NULL, "Cannot unset offset in a non-array variable");
26790
+ } else if (UNEXPECTED(Z_TYPE_P(container) == IS_FALSE)) {
26791
+ zend_error(E_DEPRECATED, "Unsetting offset in a false variable is deprecated");
26788
26792
}
26789
26793
} while (0);
26790
26794
@@ -30825,6 +30829,8 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL ZEND_UNSET_DIM_SPEC_VAR_CV_HANDLER(
30825
30829
zend_throw_error(NULL, "Cannot unset string offsets");
30826
30830
} else if (UNEXPECTED(Z_TYPE_P(container) > IS_FALSE)) {
30827
30831
zend_throw_error(NULL, "Cannot unset offset in a non-array variable");
30832
+ } else if (UNEXPECTED(Z_TYPE_P(container) == IS_FALSE)) {
30833
+ zend_error(E_DEPRECATED, "Unsetting offset in a false variable is deprecated");
30828
30834
}
30829
30835
} while (0);
30830
30836
@@ -42089,6 +42095,8 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL ZEND_UNSET_DIM_SPEC_CV_CONST_HANDLE
42089
42095
zend_throw_error(NULL, "Cannot unset string offsets");
42090
42096
} else if (UNEXPECTED(Z_TYPE_P(container) > IS_FALSE)) {
42091
42097
zend_throw_error(NULL, "Cannot unset offset in a non-array variable");
42098
+ } else if (UNEXPECTED(Z_TYPE_P(container) == IS_FALSE)) {
42099
+ zend_error(E_DEPRECATED, "Unsetting offset in a false variable is deprecated");
42092
42100
}
42093
42101
} while (0);
42094
42102
@@ -45578,6 +45586,8 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL ZEND_UNSET_DIM_SPEC_CV_TMPVAR_HANDL
45578
45586
zend_throw_error(NULL, "Cannot unset string offsets");
45579
45587
} else if (UNEXPECTED(Z_TYPE_P(container) > IS_FALSE)) {
45580
45588
zend_throw_error(NULL, "Cannot unset offset in a non-array variable");
45589
+ } else if (UNEXPECTED(Z_TYPE_P(container) == IS_FALSE)) {
45590
+ zend_error(E_DEPRECATED, "Unsetting offset in a false variable is deprecated");
45581
45591
}
45582
45592
} while (0);
45583
45593
@@ -50723,6 +50733,8 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL ZEND_UNSET_DIM_SPEC_CV_CV_HANDLER(Z
50723
50733
zend_throw_error(NULL, "Cannot unset string offsets");
50724
50734
} else if (UNEXPECTED(Z_TYPE_P(container) > IS_FALSE)) {
50725
50735
zend_throw_error(NULL, "Cannot unset offset in a non-array variable");
50736
+ } else if (UNEXPECTED(Z_TYPE_P(container) == IS_FALSE)) {
50737
+ zend_error(E_DEPRECATED, "Unsetting offset in a false variable is deprecated");
50726
50738
}
50727
50739
} while (0);
50728
50740
0 commit comments