PEAR Manual
Prev |  | Next

# PEAR_Config::toDefault()

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

## Synopsis

    require_once 'PEAR/config.php';

``bool PEAR_Config::toDefault` (string $key)`

## Description

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

## Parameter

string `$key`

  config key

## Return value

`bool` - Returns `TRUE` on success, `FALSE` on failure.

## Note

This function can not be called statically.

Prev | Home | Next
PEAR_Config::store() | Up | PEAR_Config::validConfiguration()