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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user