Home
last modified time | relevance | path

Searched refs:return_type (Results 1 – 3 of 3) sorted by relevance

/PHP-8.0/Zend/
H A Dzend_language_parser.y265 %type <ast> isset_variable type return_type type_expr type_without_static
547 function returns_ref T_STRING backup_doc_comment '(' parameter_list ')' return_type
798 return_type:
859 return_type backup_fn_flags method_body backup_fn_flags
1143 function returns_ref backup_doc_comment '(' parameter_list ')' lexical_vars return_type
1148 | fn returns_ref backup_doc_comment '(' parameter_list ')' return_type
H A Dzend_API.c2121 …return_type(const zend_class_entry *ce, const zend_function *fptr, int error_type, int return_type) in zend_check_magic_method_return_type() argument
2129 uint32_t extra_types = ZEND_TYPE_PURE_MASK(fptr->common.arg_info[-1].type) & ~return_type; in zend_check_magic_method_return_type()
2135 if (extra_types || (has_class_type && return_type != MAY_BE_OBJECT)) { in zend_check_magic_method_return_type()
2138 ZSTR_VAL(zend_type_to_string((zend_type) ZEND_TYPE_INIT_MASK(return_type)))); in zend_check_magic_method_return_type()
H A Dzend_compile.c1280 zend_type return_type = CG(active_op_array)->arg_info[-1].type; in zend_mark_function_as_generator() local
1281 …zend_bool valid_type = (ZEND_TYPE_FULL_MASK(return_type) & (MAY_BE_ITERABLE | MAY_BE_OBJECT)) != 0; in zend_mark_function_as_generator()
1284 ZEND_TYPE_FOREACH(return_type, single_type) { in zend_mark_function_as_generator()
1294 zend_string *str = zend_type_to_string(return_type); in zend_mark_function_as_generator()

Completed in 49 milliseconds