Home
last modified time | relevance | path

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

/php-src/Zend/
H A Dzend_ini.h154 …{ name, on_modify, arg1, arg2, arg3, default_value, displayer, sizeof(default_value)-1, sizeof(nam…
156 #define ZEND_INI_ENTRY3(name, default_value, modifiable, on_modify, arg1, arg2, arg3) \ argument
157 ZEND_INI_ENTRY3_EX(name, default_value, modifiable, on_modify, arg1, arg2, arg3, NULL)
162 #define ZEND_INI_ENTRY2(name, default_value, modifiable, on_modify, arg1, arg2) \ argument
163 ZEND_INI_ENTRY2_EX(name, default_value, modifiable, on_modify, arg1, arg2, NULL)
165 #define ZEND_INI_ENTRY1_EX(name, default_value, modifiable, on_modify, arg1, displayer) \ argument
168 #define ZEND_INI_ENTRY1(name, default_value, modifiable, on_modify, arg1) \ argument
169 ZEND_INI_ENTRY1_EX(name, default_value, modifiable, on_modify, arg1, NULL)
171 #define ZEND_INI_ENTRY_EX(name, default_value, modifiable, on_modify, displayer) \ argument
174 #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.c5301 "<?php ", sizeof("<?php ") - 1, default_value, strlen(default_value), ";", 1); in get_default_via_ast()
5347 const char *default_value = arg_info->default_value; in zend_get_default_from_internal_arg_info() local
5348 if (!default_value) { in zend_get_default_from_internal_arg_info()
5353 size_t default_value_len = strlen(default_value); in zend_get_default_from_internal_arg_info()
5356 && !memcmp(default_value, "null", sizeof("null")-1)) { in zend_get_default_from_internal_arg_info()
5360 && !memcmp(default_value, "true", sizeof("true")-1)) { in zend_get_default_from_internal_arg_info()
5364 && !memcmp(default_value, "false", sizeof("false")-1)) { in zend_get_default_from_internal_arg_info()
5368 && (default_value[0] == '\'' || default_value[0] == '"') in zend_get_default_from_internal_arg_info()
5369 && default_value[default_value_len - 1] == default_value[0]) { in zend_get_default_from_internal_arg_info()
5371 default_value + 1, default_value_len - 2, default_value[0]); in zend_get_default_from_internal_arg_info()
[all …]
H A Dzend_compile.h482 const char *default_value; member
489 zend_string *default_value; member
500 const char *default_value; member
H A Dzend_API.h132 #define ZEND_ARG_INFO_WITH_DEFAULT_VALUE(pass_by_ref, name, default_value) \ argument
133 { #name, ZEND_TYPE_INIT_NONE(_ZEND_ARG_INFO_FLAGS(pass_by_ref, 0, 0)), default_value },
140 …ne ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(pass_by_ref, name, type_hint, allow_null, default_value) \ argument
141 …ND_TYPE_INIT_CODE(type_hint, allow_null, _ZEND_ARG_INFO_FLAGS(pass_by_ref, 0, 0)), default_value },
146 #define ZEND_ARG_TYPE_MASK(pass_by_ref, name, type_mask, default_value) \ argument
147 { #name, ZEND_TYPE_INIT_MASK(type_mask | _ZEND_ARG_INFO_FLAGS(pass_by_ref, 0, 0)), default_value },
148 #define ZEND_ARG_OBJ_TYPE_MASK(pass_by_ref, name, class_name, type_mask, default_value) \ argument
149 …LASS_CONST_MASK(#class_name, type_mask | _ZEND_ARG_INFO_FLAGS(pass_by_ref, 0, 0)), default_value },
156 …ne ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(pass_by_ref, name, class_name, allow_null, default_value) \ argument
157 …NIT_CLASS_CONST(#class_name, allow_null, _ZEND_ARG_INFO_FLAGS(pass_by_ref, 0, 0)), default_value },
H A Dzend_execute.c5420 zval *default_value = RT_CONSTANT(opline, opline->op2); in zend_handle_undef_args() local
5421 if (Z_OPT_TYPE_P(default_value) == IS_CONSTANT_AST) { in zend_handle_undef_args()
5428 (zval *) ((char *) run_time_cache + Z_CACHE_SLOT_P(default_value)); in zend_handle_undef_args()
5437 ZVAL_COPY(&tmp, default_value); in zend_handle_undef_args()
5451 ZVAL_COPY(arg, default_value); in zend_handle_undef_args()
5484 zval default_value; in zend_handle_undef_args() local
5485 if (zend_get_default_from_internal_arg_info(&default_value, arg_info) == FAILURE) { in zend_handle_undef_args()
5493 if (Z_TYPE(default_value) == IS_CONSTANT_AST) { in zend_handle_undef_args()
5495 zend_result ret = zval_update_constant_ex(&default_value, fbc->common.scope); in zend_handle_undef_args()
5502 ZVAL_COPY_VALUE(arg, &default_value); in zend_handle_undef_args()
H A Dzend_ast.c2385 zend_ast *default_value = ast->child[1]; in zend_ast_export_ex() local
2386 if (default_value) { in zend_ast_export_ex()
2388 zend_ast_export_ex(str, default_value, 0, indent + 1); in zend_ast_export_ex()
H A Dzend_inheritance.c943 if (((zend_internal_arg_info*)arg_info)->default_value) { in zend_get_function_declaration()
944 smart_str_appends(&str, ((zend_internal_arg_info*)arg_info)->default_value); in zend_get_function_declaration()
H A Dzend_vm_def.h5658 zval *default_value = RT_CONSTANT(opline, opline->op2); variable
5660 if (Z_OPT_TYPE_P(default_value) == IS_CONSTANT_AST) {
5661 zval *cache_val = (zval*)CACHE_ADDR(Z_CACHE_SLOT_P(default_value));
5668 ZVAL_COPY(param, default_value);
5681 ZVAL_COPY(param, default_value);
H A Dzend_compile.c7782 zval default_value; in zend_compile_params() local
7784 ZVAL_UNDEF(&default_value); in zend_compile_params()
7791 ZVAL_NULL(&default_value); in zend_compile_params()
7797 scope, name, &default_value, in zend_compile_params()
H A Dzend_vm_execute.h4081 zval *default_value = RT_CONSTANT(opline, opline->op2); in ZEND_RECV_INIT_SPEC_CONST_HANDLER() local
4083 if (Z_OPT_TYPE_P(default_value) == IS_CONSTANT_AST) { in ZEND_RECV_INIT_SPEC_CONST_HANDLER()
4084 zval *cache_val = (zval*)CACHE_ADDR(Z_CACHE_SLOT_P(default_value)); in ZEND_RECV_INIT_SPEC_CONST_HANDLER()
4091 ZVAL_COPY(param, default_value); in ZEND_RECV_INIT_SPEC_CONST_HANDLER()
4104 ZVAL_COPY(param, default_value); in ZEND_RECV_INIT_SPEC_CONST_HANDLER()
/php-src/ext/reflection/
H A Dphp_reflection.c736 if (default_value) { in _parameter_string()
977 if (default_value && !Z_ISUNDEF_P(default_value)) { in _property_string()
1562 if (!default_value) { in get_parameter_default()
1566 ZVAL_COPY(result, default_value); in get_parameter_default()
2851 RETURN_BOOL(default_value != NULL); in ZEND_METHOD()
2888 zval default_value; in ZEND_METHOD() local
2904 zval_ptr_dtor_nogc(&default_value); in ZEND_METHOD()
2918 zval default_value; in ZEND_METHOD() local
2926 zval_ptr_dtor_nogc(&default_value); in ZEND_METHOD()
2930 zend_ast *ast = Z_ASTVAL(default_value); in ZEND_METHOD()
[all …]
/php-src/ext/zend_test/
H A Dtest.c1174 zval default_value; in register_ZendTestClass_dnf_property() local
1175 ZVAL_UNDEF(&default_value); in register_ZendTestClass_dnf_property()
1177 zend_declare_typed_property(ce, prop_name, &default_value, ZEND_ACC_PUBLIC, NULL, type); in register_ZendTestClass_dnf_property()

Completed in 316 milliseconds