Lines Matching refs:parent_const
1375 static void do_inherit_class_constant(zend_string *name, zend_class_constant *parent_const, zend_cl… in do_inherit_class_constant() argument
1382 …D_CLASS_CONST_FLAGS(c) & ZEND_ACC_PPP_MASK) > (ZEND_CLASS_CONST_FLAGS(parent_const) & ZEND_ACC_PPP… in do_inherit_class_constant()
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()
1409 _zend_hash_append_ptr(&ce->constants_table, name, parent_const); in do_inherit_class_constant()