File tree Expand file tree Collapse file tree 3 files changed +0
-175
lines changed Expand file tree Collapse file tree 3 files changed +0
-175
lines changed Original file line number Diff line number Diff line change @@ -1059,11 +1059,6 @@ ZEND_VM_C_LABEL(assign_op_object):
1059
1059
zval * orig_zptr = zptr ;
1060
1060
zend_reference * ref ;
1061
1061
1062
- /* This case can ***ONLY*** happen if get_property_ptr_ptr emits a diagnostic
1063
- * (e.g. undefined property warning) and the property is unset in the error handler */
1064
- if (UNEXPECTED (Z_TYPE_P (zptr ) == IS_UNDEF )) {
1065
- ZVAL_NULL (zptr );
1066
- }
1067
1062
do {
1068
1063
if (UNEXPECTED (Z_ISREF_P (zptr ))) {
1069
1064
ref = Z_REF_P (zptr );
@@ -1333,11 +1328,6 @@ ZEND_VM_C_LABEL(pre_incdec_object):
1333
1328
ZVAL_NULL (EX_VAR (opline -> result .var ));
1334
1329
}
1335
1330
} else {
1336
- /* This case can ***ONLY*** happen if get_property_ptr_ptr emits a diagnostic
1337
- * (e.g. undefined property warning) and the propery is unset in the error handler */
1338
- if (UNEXPECTED (Z_TYPE_P (zptr ) == IS_UNDEF )) {
1339
- ZVAL_NULL (zptr );
1340
- }
1341
1331
if (OP2_TYPE == IS_CONST ) {
1342
1332
prop_info = (zend_property_info * ) CACHED_PTR_EX (cache_slot + 2 );
1343
1333
} else {
@@ -1409,11 +1399,6 @@ ZEND_VM_C_LABEL(post_incdec_object):
1409
1399
if (UNEXPECTED (Z_ISERROR_P (zptr ))) {
1410
1400
ZVAL_NULL (EX_VAR (opline -> result .var ));
1411
1401
} else {
1412
- /* This case can ***ONLY*** happen if get_property_ptr_ptr emits a diagnostic
1413
- * (e.g. undefined property warning) and the property is unset in the error handler */
1414
- if (UNEXPECTED (Z_TYPE_P (zptr ) == IS_UNDEF )) {
1415
- ZVAL_NULL (zptr );
1416
- }
1417
1402
if (OP2_TYPE == IS_CONST ) {
1418
1403
prop_info = (zend_property_info * )CACHED_PTR_EX (cache_slot + 2 );
1419
1404
} else {
You can’t perform that action at this time.
0 commit comments