/php-src/Zend/ |
H A D | zend_ini.h | 154 …{ 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 D | zend_ini.c | 207 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 D | zend_API.c | 5301 "<?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 D | zend_compile.h | 482 const char *default_value; member 489 zend_string *default_value; member 500 const char *default_value; member
|
H A D | zend_API.h | 132 #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 D | zend_execute.c | 5420 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 D | zend_ast.c | 2385 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 D | zend_inheritance.c | 943 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 D | zend_vm_def.h | 5668 zval *default_value = RT_CONSTANT(opline, opline->op2); variable 5670 if (Z_OPT_TYPE_P(default_value) == IS_CONSTANT_AST) { 5671 zval *cache_val = (zval*)CACHE_ADDR(Z_CACHE_SLOT_P(default_value)); 5678 ZVAL_COPY(param, default_value); 5691 ZVAL_COPY(param, default_value);
|
H A D | zend_compile.c | 7777 zval default_value; in zend_compile_params() local 7779 ZVAL_UNDEF(&default_value); in zend_compile_params() 7786 ZVAL_NULL(&default_value); in zend_compile_params() 7792 scope, name, &default_value, in zend_compile_params()
|
H A D | zend_vm_execute.h | 4081 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 D | php_reflection.c | 735 if (default_value) { in _parameter_string() 976 if (default_value && !Z_ISUNDEF_P(default_value)) { in _property_string() 1567 if (!default_value) { in get_parameter_default() 1571 ZVAL_COPY(result, default_value); in get_parameter_default() 2864 RETURN_BOOL(default_value != NULL); in ZEND_METHOD() 2901 zval default_value; in ZEND_METHOD() local 2917 zval_ptr_dtor_nogc(&default_value); in ZEND_METHOD() 2931 zval default_value; in ZEND_METHOD() local 2939 zval_ptr_dtor_nogc(&default_value); in ZEND_METHOD() 2943 zend_ast *ast = Z_ASTVAL(default_value); in ZEND_METHOD() [all …]
|
/php-src/ext/zend_test/ |
H A D | test.c | 1185 zval default_value; in register_ZendTestClass_dnf_property() local 1186 ZVAL_UNDEF(&default_value); in register_ZendTestClass_dnf_property() 1188 zend_declare_typed_property(ce, prop_name, &default_value, ZEND_ACC_PUBLIC, NULL, type); in register_ZendTestClass_dnf_property()
|