Searched refs:ini_entry (Results 1 – 11 of 11) sorted by relevance
/php-src/Zend/ |
H A D | zend_ini.c | 61 …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 D | zend_ini.h | 31 #define ZEND_INI_DISP(name) ZEND_COLD void name(zend_ini_entry *ini_entry, int type) 40 void (*displayer)(zend_ini_entry *ini_entry, int type); 55 void (*displayer)(zend_ini_entry *ini_entry, int type); 76 ZEND_API zend_result zend_register_ini_entries(const zend_ini_entry_def *ini_entry, int module_numb… 77 ZEND_API zend_result zend_register_ini_entries_ex(const zend_ini_entry_def *ini_entry, int module_n… 143 …er(const char *name, uint32_t name_length, void (*displayer)(zend_ini_entry *ini_entry, int type));
|
H A D | zend_modules.h | 76 const struct _zend_ini_entry *ini_entry; member
|
/php-src/sapi/fpm/fpm/ |
H A D | fpm_php.c | 26 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-src/main/ |
H A D | php_ini.c | 71 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 D | main.c | 522 if (type == ZEND_INI_DISPLAY_ORIG && ini_entry->modified) { in PHP_INI_DISP() 523 temporary_value = (ini_entry->orig_value ? ini_entry->orig_value : NULL ); in PHP_INI_DISP() 524 } else if (ini_entry->value) { in PHP_INI_DISP() 525 temporary_value = ini_entry->value; in PHP_INI_DISP()
|
/php-src/ext/standard/ |
H A D | basic_functions.c | 1929 zend_ini_entry *ini_entry; local 1949 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(EG(ini_directives), key, ini_entry) { 1952 if (module_number != 0 && ini_entry->module_number != module_number) { 1960 if (ini_entry->orig_value) { 1962 } else if (ini_entry->value) { 1968 if (ini_entry->value) { 1974 add_assoc_long(&option, "access", ini_entry->modifiable); 1976 zend_symtable_update(Z_ARRVAL_P(return_value), ini_entry->name, &option); 1978 if (ini_entry->value) { 1981 ZVAL_STR_COPY(&zv, ini_entry->value); [all …]
|
/php-src/ext/odbc/ |
H A D | php_odbc.c | 352 value = ZSTR_VAL(ini_entry->orig_value); in PHP_INI_DISP() 353 } else if (ini_entry->value) { in PHP_INI_DISP() 354 value = ZSTR_VAL(ini_entry->value); in PHP_INI_DISP() 375 value = ZSTR_VAL(ini_entry->orig_value); in PHP_INI_DISP() 376 } else if (ini_entry->value) { in PHP_INI_DISP() 377 value = ZSTR_VAL(ini_entry->value); in PHP_INI_DISP() 404 value = ZSTR_VAL(ini_entry->orig_value); in PHP_INI_DISP() 405 } else if (ini_entry->value) { in PHP_INI_DISP() 406 value = ZSTR_VAL(ini_entry->value); in PHP_INI_DISP() 429 } else if (ini_entry->value) { in PHP_INI_DISP() [all …]
|
/php-src/ext/reflection/ |
H A D | php_reflection.c | 992 if (number == ini_entry->module_number) { in _extension_ini_string() 994 if (ini_entry->modifiable == ZEND_INI_ALL) { in _extension_ini_string() 997 if (ini_entry->modifiable & ZEND_INI_USER) { in _extension_ini_string() 1001 if (ini_entry->modifiable & ZEND_INI_PERDIR) { in _extension_ini_string() 1011 …tr_append_printf(str, " %s Current = '%s'\n", indent, ini_entry->value ? ZSTR_VAL(ini_entry->v… in _extension_ini_string() 1012 if (ini_entry->modified) { in _extension_ini_string() 1083 zend_ini_entry *ini_entry; in _extension_string() local 6559 if (number == ini_entry->module_number) { in _addinientry() 6561 if (ini_entry->value) { in _addinientry() 6562 ZVAL_STR_COPY(&zv, ini_entry->value); in _addinientry() [all …]
|
/php-src/Zend/Optimizer/ |
H A D | zend_optimizer.c | 185 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-src/ext/opcache/ |
H A D | ZendAccelerator.c | 3193 zend_ini_entry *ini_entry; local 3332 …if ((ini_entry = zend_hash_str_find_ptr(EG(ini_directives), "include_path", sizeof("include_path")… 3333 ZCG(include_path) = ini_entry->value; 3334 orig_include_path_on_modify = ini_entry->on_modify; 3335 ini_entry->on_modify = accel_include_path_on_modify; 3380 zend_ini_entry *ini_entry; local 3420 …if ((ini_entry = zend_hash_str_find_ptr(EG(ini_directives), "include_path", sizeof("include_path")… 3421 ini_entry->on_modify = orig_include_path_on_modify;
|
Completed in 91 milliseconds