Home
last modified time | relevance | path

Searched refs:default_value (Results 1 – 12 of 12) sorted by relevance

/PHP-8.3/Zend/
H A Dzend_ini.h152 …{ name, on_modify, arg1, arg2, arg3, default_value, displayer, sizeof(default_value)-1, sizeof(nam…
154 #define ZEND_INI_ENTRY3(name, default_value, modifiable, on_modify, arg1, arg2, arg3) \ argument
155 ZEND_INI_ENTRY3_EX(name, default_value, modifiable, on_modify, arg1, arg2, arg3, NULL)
160 #define ZEND_INI_ENTRY2(name, default_value, modifiable, on_modify, arg1, arg2) \ argument
161 ZEND_INI_ENTRY2_EX(name, default_value, modifiable, on_modify, arg1, arg2, NULL)
163 #define ZEND_INI_ENTRY1_EX(name, default_value, modifiable, on_modify, arg1, displayer) \ argument
166 #define ZEND_INI_ENTRY1(name, default_value, modifiable, on_modify, arg1) \ argument
167 ZEND_INI_ENTRY1_EX(name, default_value, modifiable, on_modify, arg1, NULL)
169 #define ZEND_INI_ENTRY_EX(name, default_value, modifiable, on_modify, displayer) \ argument
172 #define ZEND_INI_ENTRY(name, default_value, modifiable, on_modify) \ argument
[all …]
H A Dzend_ini.c207 zval *default_value; in zend_register_ini_entries_ex() local
250 if (((default_value = zend_get_configuration_directive(p->name)) != NULL) && in zend_register_ini_entries_ex()
251 …(!p->on_modify || p->on_modify(p, Z_STR_P(default_value), p->mh_arg1, p->mh_arg2, p->mh_arg3, ZEND… in zend_register_ini_entries_ex()
253 p->value = zend_new_interned_string(zend_string_copy(Z_STR_P(default_value))); in zend_register_ini_entries_ex()
H A Dzend_API.c5093 "<?php ", sizeof("<?php ") - 1, default_value, strlen(default_value), ";", 1); in get_default_via_ast()
5139 const char *default_value = arg_info->default_value; in zend_get_default_from_internal_arg_info() local
5140 if (!default_value) { in zend_get_default_from_internal_arg_info()
5145 size_t default_value_len = strlen(default_value); in zend_get_default_from_internal_arg_info()
5148 && !memcmp(default_value, "null", sizeof("null")-1)) { in zend_get_default_from_internal_arg_info()
5152 && !memcmp(default_value, "true", sizeof("true")-1)) { in zend_get_default_from_internal_arg_info()
5156 && !memcmp(default_value, "false", sizeof("false")-1)) { in zend_get_default_from_internal_arg_info()
5160 && (default_value[0] == '\'' || default_value[0] == '"') in zend_get_default_from_internal_arg_info()
5161 && default_value[default_value_len - 1] == default_value[0]) { in zend_get_default_from_internal_arg_info()
5163 default_value + 1, default_value_len - 2, default_value[0]); in zend_get_default_from_internal_arg_info()
[all …]
H A Dzend_compile.h422 const char *default_value; member
429 zend_string *default_value; member
440 const char *default_value; member
H A Dzend_API.h128 #define ZEND_ARG_INFO_WITH_DEFAULT_VALUE(pass_by_ref, name, default_value) \ argument
129 { #name, ZEND_TYPE_INIT_NONE(_ZEND_ARG_INFO_FLAGS(pass_by_ref, 0, 0)), default_value },
136 …ne ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(pass_by_ref, name, type_hint, allow_null, default_value) \ argument
137 …ND_TYPE_INIT_CODE(type_hint, allow_null, _ZEND_ARG_INFO_FLAGS(pass_by_ref, 0, 0)), default_value },
142 #define ZEND_ARG_TYPE_MASK(pass_by_ref, name, type_mask, default_value) \ argument
143 { #name, ZEND_TYPE_INIT_MASK(type_mask | _ZEND_ARG_INFO_FLAGS(pass_by_ref, 0, 0)), default_value },
144 #define ZEND_ARG_OBJ_TYPE_MASK(pass_by_ref, name, class_name, type_mask, default_value) \ argument
145 …LASS_CONST_MASK(#class_name, type_mask | _ZEND_ARG_INFO_FLAGS(pass_by_ref, 0, 0)), default_value },
152 …ne ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(pass_by_ref, name, class_name, allow_null, default_value) \ argument
153 …NIT_CLASS_CONST(#class_name, allow_null, _ZEND_ARG_INFO_FLAGS(pass_by_ref, 0, 0)), default_value },
H A Dzend_execute.c5187 zval *default_value = RT_CONSTANT(opline, opline->op2); in zend_handle_undef_args() local
5188 if (Z_OPT_TYPE_P(default_value) == IS_CONSTANT_AST) { in zend_handle_undef_args()
5195 (zval *) ((char *) run_time_cache + Z_CACHE_SLOT_P(default_value)); in zend_handle_undef_args()
5204 ZVAL_COPY(&tmp, default_value); in zend_handle_undef_args()
5218 ZVAL_COPY(arg, default_value); in zend_handle_undef_args()
5251 zval default_value; in zend_handle_undef_args() local
5252 if (zend_get_default_from_internal_arg_info(&default_value, arg_info) == FAILURE) { in zend_handle_undef_args()
5260 if (Z_TYPE(default_value) == IS_CONSTANT_AST) { in zend_handle_undef_args()
5262 zend_result ret = zval_update_constant_ex(&default_value, fbc->common.scope); in zend_handle_undef_args()
5269 ZVAL_COPY_VALUE(arg, &default_value); in zend_handle_undef_args()
H A Dzend_inheritance.c928 if (((zend_internal_arg_info*)arg_info)->default_value) { in zend_get_function_declaration()
929 smart_str_appends(&str, ((zend_internal_arg_info*)arg_info)->default_value); in zend_get_function_declaration()
H A Dzend_vm_def.h5556 zval *default_value = RT_CONSTANT(opline, opline->op2); variable
5558 if (Z_OPT_TYPE_P(default_value) == IS_CONSTANT_AST) {
5559 zval *cache_val = (zval*)CACHE_ADDR(Z_CACHE_SLOT_P(default_value));
5566 ZVAL_COPY(param, default_value);
5579 ZVAL_COPY(param, default_value);
H A Dzend_compile.c7171 zval default_value; in zend_compile_params() local
7173 ZVAL_UNDEF(&default_value); in zend_compile_params()
7180 ZVAL_NULL(&default_value); in zend_compile_params()
7186 scope, name, &default_value, property_flags | ZEND_ACC_PROMOTED, doc_comment, type); in zend_compile_params()
H A Dzend_vm_execute.h3869 zval *default_value = RT_CONSTANT(opline, opline->op2); in ZEND_RECV_INIT_SPEC_CONST_HANDLER() local
3871 if (Z_OPT_TYPE_P(default_value) == IS_CONSTANT_AST) { in ZEND_RECV_INIT_SPEC_CONST_HANDLER()
3872 zval *cache_val = (zval*)CACHE_ADDR(Z_CACHE_SLOT_P(default_value)); in ZEND_RECV_INIT_SPEC_CONST_HANDLER()
3879 ZVAL_COPY(param, default_value); in ZEND_RECV_INIT_SPEC_CONST_HANDLER()
3892 ZVAL_COPY(param, default_value); in ZEND_RECV_INIT_SPEC_CONST_HANDLER()
/PHP-8.3/ext/reflection/
H A Dphp_reflection.c710 if (default_value) { in _parameter_string()
933 if (!Z_ISUNDEF_P(default_value)) { in _property_string()
1519 if (!default_value) { in get_parameter_default()
1523 ZVAL_COPY(result, default_value); in get_parameter_default()
2887 RETURN_BOOL(default_value != NULL); in ZEND_METHOD()
2928 zval default_value; in ZEND_METHOD() local
2944 zval_ptr_dtor_nogc(&default_value); in ZEND_METHOD()
2960 zval default_value; in ZEND_METHOD() local
2968 zval_ptr_dtor_nogc(&default_value); in ZEND_METHOD()
2972 zend_ast *ast = Z_ASTVAL(default_value); in ZEND_METHOD()
[all …]
/PHP-8.3/ext/zend_test/
H A Dtest.c1139 zval default_value; in register_ZendTestClass_dnf_property() local
1140 ZVAL_UNDEF(&default_value); in register_ZendTestClass_dnf_property()
1142 zend_declare_typed_property(ce, prop_name, &default_value, ZEND_ACC_PUBLIC, NULL, type); in register_ZendTestClass_dnf_property()

Completed in 429 milliseconds