diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-10-25 10:20:19 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-10-25 10:20:19 +0200 |
commit | 296269cfe81e7580e03701be3eecc0243ba8522a (patch) | |
tree | e14fe895b6cfe50c43a5e4e63a999cfcb284c6fb /Zend/zend_operators.c | |
parent | 374cbfe568aef2053a19c98461dfe36d8623a567 (diff) | |
parent | 184ba0c91c3b688538d0274625241c640a8952eb (diff) | |
download | php-git-296269cfe81e7580e03701be3eecc0243ba8522a.tar.gz |
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove recursive check from instanceof_interface
Diffstat (limited to 'Zend/zend_operators.c')
-rw-r--r-- | Zend/zend_operators.c | 2 |
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; } } |