Lines Matching refs:proto

35 …ry* (*zend_inheritance_cache_add)(zend_class_entry *ce, zend_class_entry *proto, zend_class_entry …
768 const zend_function *proto, zend_class_entry *proto_scope) /* {{{ */ in zend_do_perform_implementation_check() argument
778 && ((proto->common.scope->ce_flags & ZEND_ACC_INTERFACE) == 0 in zend_do_perform_implementation_check()
779 && (proto->common.fn_flags & ZEND_ACC_ABSTRACT) == 0))); in zend_do_perform_implementation_check()
783 ZEND_ASSERT(!(proto->common.fn_flags & ZEND_ACC_PRIVATE) in zend_do_perform_implementation_check()
784 || (proto->common.fn_flags & ZEND_ACC_ABSTRACT)); in zend_do_perform_implementation_check()
787 if (proto->common.required_num_args < fe->common.required_num_args) { in zend_do_perform_implementation_check()
792 if ((proto->common.fn_flags & ZEND_ACC_RETURN_REFERENCE) in zend_do_perform_implementation_check()
797 proto_is_variadic = (proto->common.fn_flags & ZEND_ACC_VARIADIC) != 0; in zend_do_perform_implementation_check()
806 proto_num_args = proto->common.num_args + proto_is_variadic; in zend_do_perform_implementation_check()
813 i < proto_num_args ? &proto->common.arg_info[i] : in zend_do_perform_implementation_check()
814 proto_is_variadic ? &proto->common.arg_info[proto_num_args - 1] : NULL; in zend_do_perform_implementation_check()
848 if (proto->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_do_perform_implementation_check()
851 if (!ZEND_ARG_TYPE_IS_TENTATIVE(&proto->common.arg_info[-1])) { in zend_do_perform_implementation_check()
861 fe_scope, fe->common.arg_info[-1].type, proto_scope, proto->common.arg_info[-1].type); in zend_do_perform_implementation_check()
865 && ZEND_ARG_TYPE_IS_TENTATIVE(&proto->common.arg_info[-1])) { in zend_do_perform_implementation_check()
1082 const zend_function *proto, zend_class_entry *proto_scope) in perform_delayable_implementation_check() argument
1085 zend_do_perform_implementation_check(fe, fe_scope, proto, proto_scope); in perform_delayable_implementation_check()
1088 add_compatibility_obligation(ce, fe, fe_scope, proto, proto_scope); in perform_delayable_implementation_check()
1091 emit_incompatible_method_error(fe, fe_scope, proto, proto_scope, status); in perform_delayable_implementation_check()
1111 zend_function *proto; in do_inheritance_check_on_method() local
1178 proto = parent->common.prototype ? in do_inheritance_check_on_method()
1184 if (!(proto->common.fn_flags & ZEND_ACC_ABSTRACT)) { in do_inheritance_check_on_method()
1187 parent = proto; in do_inheritance_check_on_method()
1191 && child->common.prototype != proto) { in do_inheritance_check_on_method()
1193 child->common.prototype = proto; in do_inheritance_check_on_method()
3445 zend_class_entry *proto = NULL; in zend_do_link_class() local
3540 proto = ce; in zend_do_link_class()
3678 new_ce = zend_inheritance_cache_add(ce, proto, parent, traits_and_interfaces, ht); in zend_do_link_class()
3800 zend_class_entry *proto = NULL; in zend_try_early_bind() local
3827 proto = ce; in zend_try_early_bind()
3884 new_ce = zend_inheritance_cache_add(ce, proto, parent_ce, NULL, ht); in zend_try_early_bind()