Skip to content

Commit 62b3464

Browse files
committed
Removed deprecated condition
1 parent 6c61f15 commit 62b3464

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_operators.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2182,7 +2182,7 @@ ZEND_API int ZEND_FASTCALL zend_is_identical(zval *op1, zval *op2) /* {{{ */
21822182
return (Z_ARRVAL_P(op1) == Z_ARRVAL_P(op2) ||
21832183
zend_hash_compare(Z_ARRVAL_P(op1), Z_ARRVAL_P(op2), (compare_func_t) hash_zval_identical_function, 1) == 0);
21842184
case IS_OBJECT:
2185-
return (Z_OBJ_P(op1) == Z_OBJ_P(op2) && Z_OBJ_HT_P(op1) == Z_OBJ_HT_P(op2));
2185+
return (Z_OBJ_P(op1) == Z_OBJ_P(op2));
21862186
default:
21872187
return 0;
21882188
}

0 commit comments

Comments
 (0)