Home
last modified time | relevance | path

Searched refs:allow_null (Results 1 – 8 of 8) sorted by relevance

/PHP-7.1/Zend/
H A Dzend_API.h102 …RG_OBJ_INFO(pass_by_ref, name, classname, allow_null) { #name, #classname, IS_OBJECT, pass_by_ref… argument
103 …e ZEND_ARG_ARRAY_INFO(pass_by_ref, name, allow_null) { #name, NULL, IS_ARRAY, pass_by_re… argument
104 …END_ARG_CALLABLE_INFO(pass_by_ref, name, allow_null) { #name, NULL, IS_CALLABLE, pass_by_re… argument
105 …D_ARG_TYPE_INFO(pass_by_ref, name, type_hint, allow_null) { #name, NULL, type_hint, pass_by_ref, a… argument
109 …WITH_RETURN_TYPE_INFO_EX(name, return_reference, required_num_args, type, class_name, allow_null) \ argument
111 …nst char*)(zend_uintptr_t)(required_num_args), class_name, type, return_reference, allow_null, 0 },
112 #define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO(name, type, class_name, allow_null) \ argument
113 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(name, 0, -1, type, class_name, allow_null)
H A Dzend_compile.h325 zend_bool allow_null; member
335 zend_bool allow_null; member
349 zend_bool allow_null; member
H A Dzend_inheritance.c346 if (proto_arg_info->type_hint && proto_arg_info->allow_null && !fe_arg_info->allow_null) { in zend_do_perform_implementation_check()
378 if (fe->common.arg_info[-1].allow_null && !proto->common.arg_info[-1].allow_null) { in zend_do_perform_implementation_check()
389 if (arg_info->type_hint != IS_UNDEF && arg_info->allow_null) { in zend_append_type_hint()
631 (child->common.arg_info[-1].allow_null && !parent->common.arg_info[-1].allow_null))) { in do_inheritance_check_on_method()
H A Dzend_execute.c680 if (arg_info->allow_null) { in zend_verify_type_error_common()
824 if (Z_TYPE_P(arg) == IS_NULL && arg_info->allow_null) { in zend_check_internal_type()
913 …if (Z_TYPE_P(arg) == IS_NULL && (arg_info->allow_null || (default_value && is_null_constant(zf->co… in zend_check_type()
H A Dzend_compile.c2358 if (return_info->allow_null) { in zend_emit_return_type_check()
2373 || (return_info->allow_null in zend_emit_return_type_check()
5105 arg_infos->allow_null = 0; in zend_compile_params()
5109 arg_infos->allow_null = 1; in zend_compile_params()
5115 if (arg_infos->type_hint == IS_VOID && arg_infos->allow_null) { in zend_compile_params()
5193 arg_info->allow_null = 1; in zend_compile_params()
5204 arg_info->allow_null = has_null_default || is_explicitly_nullable; in zend_compile_params()
/PHP-7.1/ext/com_dotnet/
H A Dcom_handlers.c305 f.arg_info[i].allow_null = 1; in com_method_get()
/PHP-7.1/ext/reflection/
H A Dphp_reflection.c717 if (arg_info->allow_null) { in _parameter_string()
722 if (arg_info->allow_null) { in _parameter_string()
942 if (fptr->common.arg_info[-1].allow_null) { in _function_string()
947 if (fptr->common.arg_info[-1].allow_null) { in _function_string()
2809 RETVAL_BOOL(param->arg_info->allow_null); in ZEND_METHOD()
3008 RETVAL_BOOL(param->arg_info->allow_null); in ZEND_METHOD()
/PHP-7.1/ext/opcache/Optimizer/
H A Dzend_inference.c2159 if (arg_info->allow_null) { in zend_fetch_arg_info()

Completed in 136 milliseconds