Query: ini_restore
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
INI_RESTORE(3) 1 INI_RESTORE(3) ini_restore - Restores the value of a configuration optionSYNOPSISvoid ini_restore (string $varname)DESCRIPTIONRestores a given configuration option to its original value.PARAMETERSo $varname - The configuration option name.RETURN VALUESNo value is returned.EXAMPLESExample #1 ini_restore(3) example <?php $setting = 'y2k_compliance'; echo 'Current value for '' . $setting . '': ' . ini_get($setting), PHP_EOL; ini_set($setting, ini_get($setting) ? 0 : 1); echo 'New value for '' . $setting . '': ' . ini_get($setting), PHP_EOL; ini_restore($setting); echo 'Original value for '' . $setting . '': ' . ini_get($setting), PHP_EOL; ?> The above example will output: Current value for 'y2k_compliance': 1 New value for 'y2k_compliance': 0 Original value for 'y2k_compliance': 1SEE ALSOini_get(3), ini_get_all(3), ini_set(3). PHP Documentation Group INI_RESTORE(3)
Related Man Pages |
---|
iconv(3) - php |
set_magic_quotes_runtime(3) - php |
basename(3) - php |
phpinfo(3) - php |
fbsql_connect(3) - php |
Similar Topics in the Unix Linux Community |
---|
Interbase help |