summaryrefslogtreecommitdiff
path: root/Zend/zend_operators.c
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend_operators.c')
-rw-r--r--Zend/zend_operators.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c
index eb27750df9..ac11ed6668 100644
--- a/Zend/zend_operators.c
+++ b/Zend/zend_operators.c
@@ -2194,7 +2194,7 @@ static zend_bool ZEND_FASTCALL instanceof_interface(const zend_class_entry *inst
if (instance_ce->num_interfaces) {
ZEND_ASSERT(instance_ce->ce_flags & ZEND_ACC_RESOLVED_INTERFACES);
for (i = 0; i < instance_ce->num_interfaces; i++) {
- if (instanceof_interface(instance_ce->interfaces[i], ce)) {
+ if (instance_ce->interfaces[i] == ce) {
return 1;
}
}