Lines Matching refs:constructor

1638 				if (!CG(active_class_entry)->constructor) {  in zend_do_begin_function_declaration()
1639 CG(active_class_entry)->constructor = (zend_function *) CG(active_op_array); in zend_do_begin_function_declaration()
1642 if (CG(active_class_entry)->constructor) { in zend_do_begin_function_declaration()
1645 CG(active_class_entry)->constructor = (zend_function *) CG(active_op_array); in zend_do_begin_function_declaration()
3049 if (ce->constructor) { in do_inherit_parent_constructor()
3050 if (ce->parent->constructor && ce->parent->constructor->common.fn_flags & ZEND_ACC_FINAL) { in do_inherit_parent_constructor()
3052 ce->parent->name, ce->parent->constructor->common.function_name, in do_inherit_parent_constructor()
3053 ce->name, ce->constructor->common.function_name in do_inherit_parent_constructor()
3083 ce->constructor = ce->parent->constructor; in do_inherit_parent_constructor()
3845 if (ce->constructor && (!ce->parent || ce->constructor != ce->parent->constructor)) { in zend_add_magic_methods()
3848 ce->constructor = fe; fe->common.fn_flags |= ZEND_ACC_CTOR; in zend_add_magic_methods()
3870 if (ce->constructor && (!ce->parent || ce->constructor != ce->parent->constructor)) { in zend_add_magic_methods()
3873 ce->constructor = fe; in zend_add_magic_methods()
5112 if (ce->constructor) { in zend_do_end_class_declaration()
5113 ce->constructor->common.fn_flags |= ZEND_ACC_CTOR; in zend_do_end_class_declaration()
5114 if (ce->constructor->common.fn_flags & ZEND_ACC_STATIC) { in zend_do_end_class_declaration()
5115 …zend_error(E_COMPILE_ERROR, "Constructor %s::%s() cannot be static", ce->name, ce->constructor->co… in zend_do_end_class_declaration()
6854 ce->constructor = NULL; in zend_initialize_class_data()