1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Zend: mark variable as const

This commit is contained in:
Gina Peter Banyard
2026-03-09 16:24:51 +00:00
parent 032e5f6774
commit 1096ea149a

View File

@@ -320,7 +320,7 @@ static bool unlinked_instanceof(const zend_class_entry *ce1, const zend_class_en
}
if (ce1->parent) {
zend_class_entry *parent_ce;
const zend_class_entry *parent_ce;
if (ce1->ce_flags & ZEND_ACC_RESOLVED_PARENT) {
parent_ce = ce1->parent;
} else {