Home
last modified time | relevance | path

Searched refs:parent_const (Results 1 – 1 of 1) sorted by relevance

/PHP-8.2/Zend/
H A Dzend_inheritance.c1375 static void do_inherit_class_constant(zend_string *name, zend_class_constant *parent_const, zend_cl… in do_inherit_class_constant() argument
1384 …ty_string(ZEND_CLASS_CONST_FLAGS(parent_const)), ZSTR_VAL(parent_const->ce->name), (ZEND_CLASS_CON… in do_inherit_class_constant()
1387 if (UNEXPECTED((ZEND_CLASS_CONST_FLAGS(parent_const) & ZEND_ACC_FINAL))) { in do_inherit_class_constant()
1390 ZSTR_VAL(ce->name), ZSTR_VAL(name), ZSTR_VAL(parent_const->ce->name), ZSTR_VAL(name) in do_inherit_class_constant()
1393 } else if (!(ZEND_CLASS_CONST_FLAGS(parent_const) & ZEND_ACC_PRIVATE)) { in do_inherit_class_constant()
1394 if (Z_TYPE(parent_const->value) == IS_CONSTANT_AST) { in do_inherit_class_constant()
1399 memcpy(c, parent_const, sizeof(zend_class_constant)); in do_inherit_class_constant()
1400 parent_const = c; in do_inherit_class_constant()
1406 memcpy(c, parent_const, sizeof(zend_class_constant)); in do_inherit_class_constant()
1407 parent_const = c; in do_inherit_class_constant()
[all …]

Completed in 11 milliseconds