Lines Matching refs:proto
35 …ry* (*zend_inheritance_cache_add)(zend_class_entry *ce, zend_class_entry *proto, zend_class_entry …
753 const zend_function *proto, zend_class_entry *proto_scope) /* {{{ */ in zend_do_perform_implementation_check() argument
763 && ((proto->common.scope->ce_flags & ZEND_ACC_INTERFACE) == 0 in zend_do_perform_implementation_check()
764 && (proto->common.fn_flags & ZEND_ACC_ABSTRACT) == 0))); in zend_do_perform_implementation_check()
768 ZEND_ASSERT(!(proto->common.fn_flags & ZEND_ACC_PRIVATE) in zend_do_perform_implementation_check()
769 || (proto->common.fn_flags & ZEND_ACC_ABSTRACT)); in zend_do_perform_implementation_check()
772 if (proto->common.required_num_args < fe->common.required_num_args) { in zend_do_perform_implementation_check()
777 if ((proto->common.fn_flags & ZEND_ACC_RETURN_REFERENCE) in zend_do_perform_implementation_check()
782 proto_is_variadic = (proto->common.fn_flags & ZEND_ACC_VARIADIC) != 0; in zend_do_perform_implementation_check()
791 proto_num_args = proto->common.num_args + proto_is_variadic; in zend_do_perform_implementation_check()
798 i < proto_num_args ? &proto->common.arg_info[i] : in zend_do_perform_implementation_check()
799 proto_is_variadic ? &proto->common.arg_info[proto_num_args - 1] : NULL; in zend_do_perform_implementation_check()
833 if (proto->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_do_perform_implementation_check()
836 if (!ZEND_ARG_TYPE_IS_TENTATIVE(&proto->common.arg_info[-1])) { in zend_do_perform_implementation_check()
846 fe_scope, fe->common.arg_info[-1].type, proto_scope, proto->common.arg_info[-1].type); in zend_do_perform_implementation_check()
850 && ZEND_ARG_TYPE_IS_TENTATIVE(&proto->common.arg_info[-1])) { in zend_do_perform_implementation_check()
1067 const zend_function *proto, zend_class_entry *proto_scope) in perform_delayable_implementation_check() argument
1070 zend_do_perform_implementation_check(fe, fe_scope, proto, proto_scope); in perform_delayable_implementation_check()
1073 add_compatibility_obligation(ce, fe, fe_scope, proto, proto_scope); in perform_delayable_implementation_check()
1076 emit_incompatible_method_error(fe, fe_scope, proto, proto_scope, status); in perform_delayable_implementation_check()
1096 zend_function *proto; in do_inheritance_check_on_method() local
1163 proto = parent->common.prototype ? in do_inheritance_check_on_method()
1169 if (!(proto->common.fn_flags & ZEND_ACC_ABSTRACT)) { in do_inheritance_check_on_method()
1172 parent = proto; in do_inheritance_check_on_method()
1176 && child->common.prototype != proto) { in do_inheritance_check_on_method()
1178 child->common.prototype = proto; in do_inheritance_check_on_method()
3026 zend_class_entry *proto = NULL; in zend_do_link_class() local
3121 proto = ce; in zend_do_link_class()
3240 new_ce = zend_inheritance_cache_add(ce, proto, parent, traits_and_interfaces, ht); in zend_do_link_class()
3361 zend_class_entry *proto = NULL; in zend_try_early_bind() local
3388 proto = ce; in zend_try_early_bind()
3445 new_ce = zend_inheritance_cache_add(ce, proto, parent_ce, NULL, ht); in zend_try_early_bind()