Lines Matching refs:return_info

1238 		zend_arg_info return_info = CG(active_op_array)->arg_info[-1];  in zend_mark_function_as_generator()  local
1240 if (ZEND_TYPE_CODE(return_info.type) != IS_ITERABLE) { in zend_mark_function_as_generator()
1243 if (!ZEND_TYPE_IS_CLASS(return_info.type)) { in zend_mark_function_as_generator()
1244 …zend_error_noreturn(E_COMPILE_ERROR, msg, zend_get_type_by_const(ZEND_TYPE_CODE(return_info.type))… in zend_mark_function_as_generator()
1247 if (!zend_string_equals_literal_ci(ZEND_TYPE_NAME(return_info.type), "Traversable") in zend_mark_function_as_generator()
1248 && !zend_string_equals_literal_ci(ZEND_TYPE_NAME(return_info.type), "Iterator") in zend_mark_function_as_generator()
1249 && !zend_string_equals_literal_ci(ZEND_TYPE_NAME(return_info.type), "Generator")) { in zend_mark_function_as_generator()
1250 zend_error_noreturn(E_COMPILE_ERROR, msg, ZSTR_VAL(ZEND_TYPE_NAME(return_info.type))); in zend_mark_function_as_generator()
2305 znode *expr, zend_arg_info *return_info, zend_bool implicit) /* {{{ */ in zend_emit_return_type_check() argument
2307 if (ZEND_TYPE_IS_SET(return_info->type)) { in zend_emit_return_type_check()
2311 if (ZEND_TYPE_CODE(return_info->type) == IS_VOID) { in zend_emit_return_type_check()
2326 if (ZEND_TYPE_ALLOW_NULL(return_info->type)) { in zend_emit_return_type_check()
2337 if ((ZEND_TYPE_CODE(return_info->type) == Z_TYPE(expr->u.constant)) in zend_emit_return_type_check()
2338 ||((ZEND_TYPE_CODE(return_info->type) == _IS_BOOL) in zend_emit_return_type_check()
2341 || (ZEND_TYPE_ALLOW_NULL(return_info->type) in zend_emit_return_type_check()
2353 if (ZEND_TYPE_IS_CLASS(return_info->type)) { in zend_emit_return_type_check()