@@ -4895,7 +4895,8 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_fetch_static_prop_helper_SPEC_
4895
4895
}
4896
4896
}
4897
4897
retval = zend_std_get_static_property(ce, name, 0);
4898
- if (UNEXPECTED(EG(exception))) {
4898
+ if (UNEXPECTED(retval == NULL)) {
4899
+ ZEND_ASSERT(EG(exception));
4899
4900
if (IS_CONST != IS_CONST) {
4900
4901
zend_string_release(name);
4901
4902
}
@@ -4911,7 +4912,6 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_fetch_static_prop_helper_SPEC_
4911
4912
}
4912
4913
4913
4914
fetch_static_prop_return:
4914
- ZEND_ASSERT(retval != NULL);
4915
4915
if (type == BP_VAR_R || type == BP_VAR_IS) {
4916
4916
ZVAL_COPY_UNREF(EX_VAR(opline->result.var), retval);
4917
4917
} else {
@@ -6748,7 +6748,8 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_fetch_static_prop_helper_SPEC_
6748
6748
}
6749
6749
}
6750
6750
retval = zend_std_get_static_property(ce, name, 0);
6751
- if (UNEXPECTED(EG(exception))) {
6751
+ if (UNEXPECTED(retval == NULL)) {
6752
+ ZEND_ASSERT(EG(exception));
6752
6753
if (IS_CONST != IS_CONST) {
6753
6754
zend_string_release(name);
6754
6755
}
@@ -6764,7 +6765,6 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_fetch_static_prop_helper_SPEC_
6764
6765
}
6765
6766
6766
6767
fetch_static_prop_return:
6767
- ZEND_ASSERT(retval != NULL);
6768
6768
if (type == BP_VAR_R || type == BP_VAR_IS) {
6769
6769
ZVAL_COPY_UNREF(EX_VAR(opline->result.var), retval);
6770
6770
} else {
@@ -7320,7 +7320,8 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_fetch_static_prop_helper_SPEC_
7320
7320
}
7321
7321
}
7322
7322
retval = zend_std_get_static_property(ce, name, 0);
7323
- if (UNEXPECTED(EG(exception))) {
7323
+ if (UNEXPECTED(retval == NULL)) {
7324
+ ZEND_ASSERT(EG(exception));
7324
7325
if (IS_CONST != IS_CONST) {
7325
7326
zend_string_release(name);
7326
7327
}
@@ -7336,7 +7337,6 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_fetch_static_prop_helper_SPEC_
7336
7337
}
7337
7338
7338
7339
fetch_static_prop_return:
7339
- ZEND_ASSERT(retval != NULL);
7340
7340
if (type == BP_VAR_R || type == BP_VAR_IS) {
7341
7341
ZVAL_COPY_UNREF(EX_VAR(opline->result.var), retval);
7342
7342
} else {
@@ -37879,7 +37879,8 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_fetch_static_prop_helper_SPEC_
37879
37879
}
37880
37880
}
37881
37881
retval = zend_std_get_static_property(ce, name, 0);
37882
- if (UNEXPECTED(EG(exception))) {
37882
+ if (UNEXPECTED(retval == NULL)) {
37883
+ ZEND_ASSERT(EG(exception));
37883
37884
if (IS_CV != IS_CONST) {
37884
37885
zend_string_release(name);
37885
37886
}
@@ -37895,7 +37896,6 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_fetch_static_prop_helper_SPEC_
37895
37896
}
37896
37897
37897
37898
fetch_static_prop_return:
37898
- ZEND_ASSERT(retval != NULL);
37899
37899
if (type == BP_VAR_R || type == BP_VAR_IS) {
37900
37900
ZVAL_COPY_UNREF(EX_VAR(opline->result.var), retval);
37901
37901
} else {
@@ -40939,7 +40939,8 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_fetch_static_prop_helper_SPEC_
40939
40939
}
40940
40940
}
40941
40941
retval = zend_std_get_static_property(ce, name, 0);
40942
- if (UNEXPECTED(EG(exception))) {
40942
+ if (UNEXPECTED(retval == NULL)) {
40943
+ ZEND_ASSERT(EG(exception));
40943
40944
if (IS_CV != IS_CONST) {
40944
40945
zend_string_release(name);
40945
40946
}
@@ -40955,7 +40956,6 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_fetch_static_prop_helper_SPEC_
40955
40956
}
40956
40957
40957
40958
fetch_static_prop_return:
40958
- ZEND_ASSERT(retval != NULL);
40959
40959
if (type == BP_VAR_R || type == BP_VAR_IS) {
40960
40960
ZVAL_COPY_UNREF(EX_VAR(opline->result.var), retval);
40961
40961
} else {
@@ -41987,7 +41987,8 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_fetch_static_prop_helper_SPEC_
41987
41987
}
41988
41988
}
41989
41989
retval = zend_std_get_static_property(ce, name, 0);
41990
- if (UNEXPECTED(EG(exception))) {
41990
+ if (UNEXPECTED(retval == NULL)) {
41991
+ ZEND_ASSERT(EG(exception));
41991
41992
if (IS_CV != IS_CONST) {
41992
41993
zend_string_release(name);
41993
41994
}
@@ -42003,7 +42004,6 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_fetch_static_prop_helper_SPEC_
42003
42004
}
42004
42005
42005
42006
fetch_static_prop_return:
42006
- ZEND_ASSERT(retval != NULL);
42007
42007
if (type == BP_VAR_R || type == BP_VAR_IS) {
42008
42008
ZVAL_COPY_UNREF(EX_VAR(opline->result.var), retval);
42009
42009
} else {
@@ -52336,7 +52336,8 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_fetch_static_prop_helper_SPEC_
52336
52336
}
52337
52337
}
52338
52338
retval = zend_std_get_static_property(ce, name, 0);
52339
- if (UNEXPECTED(EG(exception))) {
52339
+ if (UNEXPECTED(retval == NULL)) {
52340
+ ZEND_ASSERT(EG(exception));
52340
52341
if ((IS_TMP_VAR|IS_VAR) != IS_CONST) {
52341
52342
zend_string_release(name);
52342
52343
}
@@ -52354,7 +52355,6 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_fetch_static_prop_helper_SPEC_
52354
52355
}
52355
52356
52356
52357
fetch_static_prop_return:
52357
- ZEND_ASSERT(retval != NULL);
52358
52358
if (type == BP_VAR_R || type == BP_VAR_IS) {
52359
52359
ZVAL_COPY_UNREF(EX_VAR(opline->result.var), retval);
52360
52360
} else {
@@ -53285,7 +53285,8 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_fetch_static_prop_helper_SPEC_
53285
53285
}
53286
53286
}
53287
53287
retval = zend_std_get_static_property(ce, name, 0);
53288
- if (UNEXPECTED(EG(exception))) {
53288
+ if (UNEXPECTED(retval == NULL)) {
53289
+ ZEND_ASSERT(EG(exception));
53289
53290
if ((IS_TMP_VAR|IS_VAR) != IS_CONST) {
53290
53291
zend_string_release(name);
53291
53292
}
@@ -53303,7 +53304,6 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_fetch_static_prop_helper_SPEC_
53303
53304
}
53304
53305
53305
53306
fetch_static_prop_return:
53306
- ZEND_ASSERT(retval != NULL);
53307
53307
if (type == BP_VAR_R || type == BP_VAR_IS) {
53308
53308
ZVAL_COPY_UNREF(EX_VAR(opline->result.var), retval);
53309
53309
} else {
@@ -53773,7 +53773,8 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_fetch_static_prop_helper_SPEC_
53773
53773
}
53774
53774
}
53775
53775
retval = zend_std_get_static_property(ce, name, 0);
53776
- if (UNEXPECTED(EG(exception))) {
53776
+ if (UNEXPECTED(retval == NULL)) {
53777
+ ZEND_ASSERT(EG(exception));
53777
53778
if ((IS_TMP_VAR|IS_VAR) != IS_CONST) {
53778
53779
zend_string_release(name);
53779
53780
}
@@ -53791,7 +53792,6 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_fetch_static_prop_helper_SPEC_
53791
53792
}
53792
53793
53793
53794
fetch_static_prop_return:
53794
- ZEND_ASSERT(retval != NULL);
53795
53795
if (type == BP_VAR_R || type == BP_VAR_IS) {
53796
53796
ZVAL_COPY_UNREF(EX_VAR(opline->result.var), retval);
53797
53797
} else {
0 commit comments