PEAR_Config::toDefault() – Revert value of config key to the system-defined one


require_once 'PEAR/config.php';

bool PEAR_Config::toDefault ( string $key )


Unset the user-defined value of a config key, reverting the value to the system-defined one.


string $key

config key

Return value

bool - Returns TRUE on success, FALSE on failure.


This function can not be called statically.

Stores configuration data in a layer (Previous) Determine whether any configuration files have been detected, and whether a registry object can be retrieved from this configuration. (Next)
Last updated: Sun, 04 Oct 2015 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.