Search Results
ini_restore (PHP 4, PHP 5, PHP 7, PHP 8) ini_restore — Restores the value of a configuration option
PHP 4, PHP 5, PHP 7, PHP 8 ini_restore - Restores the value of a configuration option Manual Code Examples
Simple usage example of `ini_restore ()`. The "ini_restore" function in PHP is used to restore the value of a configuration option to its original state. This function is primarily used when you want to reset a configuration option to its default value after modifying it using the "ini_set" function or by altering the php.ini file.
The php function ini_restore restores a configuration option variable to its original value. This happens automatically when a script completes execution for configuration options set using ini_set () during that script.
Description ini_restore ( string $varname ) : void Restores a given configuration option to its original value.
See Also ini_get () - Gets the value of a configuration option ini_get_all () - Gets all configuration options ini_set () - Sets the value of a configuration option ...
PHP 5 Manual PHP Options/Info Functions Restores the value of a configuration option Edit Report a Bug
