Home
last modified time | relevance | path

Searched refs:ini_entry (Results 1 – 11 of 11) sorted by relevance

/PHP-8.3/Zend/
H A Dzend_ini.c61 …result = ini_entry->on_modify(ini_entry, ini_entry->orig_value, ini_entry->mh_arg1, ini_entry->mh_… in zend_restore_ini_entry_cb()
68 if (ini_entry->value != ini_entry->orig_value) { in zend_restore_ini_entry_cb()
71 ini_entry->value = ini_entry->orig_value; in zend_restore_ini_entry_cb()
72 ini_entry->modifiable = ini_entry->orig_modifiable; in zend_restore_ini_entry_cb()
262 ini_entry++; in zend_register_ini_entries_ex()
385 ini_entry->orig_value = ini_entry->value; in zend_alter_ini_entry_ex()
394 …|| ini_entry->on_modify(ini_entry, duplicate, ini_entry->mh_arg1, ini_entry->mh_arg2, ini_entry->m… in zend_alter_ini_entry_ex()
452 if (ini_entry) { in zend_ini_long()
494 return ini_entry->value ? ZSTR_VAL(ini_entry->value) : NULL; in zend_ini_string_ex()
532 return ini_entry->orig_value ? ini_entry->orig_value : NULL; in zend_ini_str_ex()
[all …]
H A Dzend_ini.h29 #define ZEND_INI_DISP(name) ZEND_COLD void name(zend_ini_entry *ini_entry, int type)
38 void (*displayer)(zend_ini_entry *ini_entry, int type);
53 void (*displayer)(zend_ini_entry *ini_entry, int type);
74 ZEND_API zend_result zend_register_ini_entries(const zend_ini_entry_def *ini_entry, int module_numb…
75 ZEND_API zend_result zend_register_ini_entries_ex(const zend_ini_entry_def *ini_entry, int module_n…
141 …er(const char *name, uint32_t name_length, void (*displayer)(zend_ini_entry *ini_entry, int type));
H A Dzend_modules.h76 const struct _zend_ini_entry *ini_entry; member
/PHP-8.3/sapi/fpm/fpm/
H A Dfpm_php.c26 zend_ini_entry *ini_entry; in fpm_php_zend_ini_alter_master() local
29 if ((ini_entry = zend_hash_str_find_ptr(EG(ini_directives), name, name_length)) == NULL) { in fpm_php_zend_ini_alter_master()
35 if (!ini_entry->on_modify in fpm_php_zend_ini_alter_master()
36 || ini_entry->on_modify(ini_entry, duplicate, in fpm_php_zend_ini_alter_master()
37 ini_entry->mh_arg1, ini_entry->mh_arg2, ini_entry->mh_arg3, stage) == SUCCESS) { in fpm_php_zend_ini_alter_master()
38 ini_entry->value = duplicate; in fpm_php_zend_ini_alter_master()
41 ini_entry->modifiable = mode; in fpm_php_zend_ini_alter_master()
/PHP-8.3/main/
H A Dphp_ini.c71 if (ini_entry->displayer) { in php_ini_displayer_cb()
72 ini_entry->displayer(ini_entry, type); in php_ini_displayer_cb()
79 if (ini_entry->orig_value && ZSTR_VAL(ini_entry->orig_value)[0]) { in php_ini_displayer_cb()
80 display_string = ZSTR_VAL(ini_entry->orig_value); in php_ini_displayer_cb()
92 } else if (ini_entry->value && ZSTR_VAL(ini_entry->value)[0]) { in php_ini_displayer_cb()
93 display_string = ZSTR_VAL(ini_entry->value); in php_ini_displayer_cb()
94 display_string_length = ZSTR_LEN(ini_entry->value); in php_ini_displayer_cb()
119 zend_ini_entry *ini_entry; in display_ini_entries() local
129 if (ini_entry->module_number != module_number) { in display_ini_entries()
140 PHPWRITE(ZSTR_VAL(ini_entry->name), ZSTR_LEN(ini_entry->name)); in display_ini_entries()
[all …]
H A Dmain.c478 if (type == ZEND_INI_DISPLAY_ORIG && ini_entry->modified) { in PHP_INI_DISP()
479 temporary_value = (ini_entry->orig_value ? ini_entry->orig_value : NULL ); in PHP_INI_DISP()
480 } else if (ini_entry->value) { in PHP_INI_DISP()
481 temporary_value = ini_entry->value; in PHP_INI_DISP()
/PHP-8.3/ext/standard/
H A Dbasic_functions.c1950 zend_ini_entry *ini_entry; local
1970 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(EG(ini_directives), key, ini_entry) {
1973 if (module_number != 0 && ini_entry->module_number != module_number) {
1981 if (ini_entry->orig_value) {
1983 } else if (ini_entry->value) {
1989 if (ini_entry->value) {
1995 add_assoc_long(&option, "access", ini_entry->modifiable);
1997 zend_symtable_update(Z_ARRVAL_P(return_value), ini_entry->name, &option);
1999 if (ini_entry->value) {
2002 ZVAL_STR_COPY(&zv, ini_entry->value);
[all …]
/PHP-8.3/ext/odbc/
H A Dphp_odbc.c216 value = ZSTR_VAL(ini_entry->orig_value); in PHP_INI_DISP()
217 } else if (ini_entry->value) { in PHP_INI_DISP()
218 value = ZSTR_VAL(ini_entry->value); in PHP_INI_DISP()
240 } else if (ini_entry->value) { in PHP_INI_DISP()
241 value = ZSTR_VAL(ini_entry->value); in PHP_INI_DISP()
269 } else if (ini_entry->value) { in PHP_INI_DISP()
270 value = ZSTR_VAL(ini_entry->value); in PHP_INI_DISP()
298 } else if (ini_entry->value) { in PHP_INI_DISP()
299 value = ZSTR_VAL(ini_entry->value); in PHP_INI_DISP()
322 } else if (ini_entry->value) { in PHP_INI_DISP()
[all …]
/PHP-8.3/ext/reflection/
H A Dphp_reflection.c949 if (number == ini_entry->module_number) { in _extension_ini_string()
951 if (ini_entry->modifiable == ZEND_INI_ALL) { in _extension_ini_string()
954 if (ini_entry->modifiable & ZEND_INI_USER) { in _extension_ini_string()
958 if (ini_entry->modifiable & ZEND_INI_PERDIR) { in _extension_ini_string()
968 …tr_append_printf(str, " %s Current = '%s'\n", indent, ini_entry->value ? ZSTR_VAL(ini_entry->v… in _extension_ini_string()
969 if (ini_entry->modified) { in _extension_ini_string()
1040 zend_ini_entry *ini_entry; in _extension_string() local
6118 if (number == ini_entry->module_number) { in _addinientry()
6120 if (ini_entry->value) { in _addinientry()
6121 ZVAL_STR_COPY(&zv, ini_entry->value); in _addinientry()
[all …]
/PHP-8.3/Zend/Optimizer/
H A Dzend_optimizer.c185 zend_ini_entry *ini_entry = zend_hash_find_ptr(EG(ini_directives), arg); in zend_optimizer_eval_special_func_call() local
186 if (!ini_entry) { in zend_optimizer_eval_special_func_call()
191 } else if (ini_entry->modifiable != ZEND_INI_SYSTEM) { in zend_optimizer_eval_special_func_call()
193 } else if (ini_entry->value) { in zend_optimizer_eval_special_func_call()
194 ZVAL_STR_COPY(result, ini_entry->value); in zend_optimizer_eval_special_func_call()
/PHP-8.3/ext/opcache/
H A DZendAccelerator.c3166 zend_ini_entry *ini_entry; local
3307 …if ((ini_entry = zend_hash_str_find_ptr(EG(ini_directives), "include_path", sizeof("include_path")…
3308 ZCG(include_path) = ini_entry->value;
3309 orig_include_path_on_modify = ini_entry->on_modify;
3310 ini_entry->on_modify = accel_include_path_on_modify;
3355 zend_ini_entry *ini_entry; local
3393 …if ((ini_entry = zend_hash_str_find_ptr(EG(ini_directives), "include_path", sizeof("include_path")…
3394 ini_entry->on_modify = orig_include_path_on_modify;

Completed in 79 milliseconds