Lines Matching refs:proto

323 		const zend_function *proto, zend_arg_info *proto_arg_info) /* {{{ */  in zend_perform_covariant_type_check()  argument
340 proto_class_name = resolve_class_name(proto->common.scope, ZEND_TYPE_NAME(proto_type)); in zend_perform_covariant_type_check()
348 proto_ce = lookup_class(proto->common.scope, proto_class_name); in zend_perform_covariant_type_check()
400 const zend_function *proto, zend_arg_info *proto_arg_info) /* {{{ */ in zend_do_perform_arg_type_hint_check() argument
415 unresolved_class, proto, proto_arg_info, fe, fe_arg_info); in zend_do_perform_arg_type_hint_check()
420 zend_string **unresolved_class, const zend_function *fe, const zend_function *proto) /* {{{ */ in zend_do_perform_implementation_check() argument
429 if (!proto->common.arg_info && proto->common.type != ZEND_USER_FUNCTION) { in zend_do_perform_implementation_check()
437 && ((proto->common.scope->ce_flags & ZEND_ACC_INTERFACE) == 0 in zend_do_perform_implementation_check()
438 && (proto->common.fn_flags & ZEND_ACC_ABSTRACT) == 0))); in zend_do_perform_implementation_check()
441 ZEND_ASSERT(!(proto->common.fn_flags & ZEND_ACC_PRIVATE)); in zend_do_perform_implementation_check()
444 if (proto->common.required_num_args < fe->common.required_num_args in zend_do_perform_implementation_check()
445 || proto->common.num_args > fe->common.num_args) { in zend_do_perform_implementation_check()
450 if ((proto->common.fn_flags & ZEND_ACC_RETURN_REFERENCE) in zend_do_perform_implementation_check()
455 if ((proto->common.fn_flags & ZEND_ACC_VARIADIC) in zend_do_perform_implementation_check()
464 num_args = proto->common.num_args; in zend_do_perform_implementation_check()
465 if (proto->common.fn_flags & ZEND_ACC_VARIADIC) { in zend_do_perform_implementation_check()
467 if (fe->common.num_args >= proto->common.num_args) { in zend_do_perform_implementation_check()
480 if (i < proto->common.num_args) { in zend_do_perform_implementation_check()
481 proto_arg_info = &proto->common.arg_info[i]; in zend_do_perform_implementation_check()
483 proto_arg_info = &proto->common.arg_info[proto->common.num_args]; in zend_do_perform_implementation_check()
487 unresolved_class, fe, fe_arg_info, proto, proto_arg_info); in zend_do_perform_implementation_check()
505 if (proto->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_do_perform_implementation_check()
512 unresolved_class, fe, fe->common.arg_info - 1, proto, proto->common.arg_info - 1); in zend_do_perform_implementation_check()
735 const zend_function *proto, zend_bool always_error) in perform_delayable_implementation_check() argument
739 &unresolved_class, fe, proto); in perform_delayable_implementation_check()
743 add_compatibility_obligation(ce, fe, proto, always_error); in perform_delayable_implementation_check()
748 E_COMPILE_ERROR, "must", fe, proto, status, unresolved_class); in perform_delayable_implementation_check()
751 fe, proto, status, unresolved_class, always_error); in perform_delayable_implementation_check()
761 zend_function *proto; in do_inheritance_check_on_method_ex() local
808 proto = parent->common.prototype ? in do_inheritance_check_on_method_ex()
814 if (!(proto->common.fn_flags & ZEND_ACC_ABSTRACT)) { in do_inheritance_check_on_method_ex()
817 parent = proto; in do_inheritance_check_on_method_ex()
820 if (!check_only && child->common.prototype != proto) { in do_inheritance_check_on_method_ex()
835 child->common.prototype = proto; in do_inheritance_check_on_method_ex()