Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

ini_restore

Description

The ini_restore of Options / Information for PHP restores the value of a configuration option.

Syntax

ini_restore(
    string $option
): void

Parameters

option

The configuration option name.

Return

No value is returned.

Examples

1 · option

<?

$option = "html_errors";

echo "current: " . ini_get($option) . PHP_EOL;

$value = 0;

ini_set($option, $value);

echo "new: " . ini_get($option) . PHP_EOL;

ini_restore($option);

echo "original: " . ini_get($option);

?>
current: 1
new: 0
original: 1
HomeMenu