reference/info/functions/ini-restore.xml
ab36e3826c60dce50149ee5c31b8a6b31663b66b
...
...
@@ -10,7 +10,7 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>void</type><methodname>ini_restore</methodname>
13
-
<methodparam><type>string</type><parameter>varname</parameter></methodparam>
13
+
<methodparam><type>string</type><parameter>option</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
Restores a given configuration option to its original value.
...
...
@@ -22,7 +22,7 @@
22
22
<para>
23
23
<variablelist>
24
24
<varlistentry>
25
-
<term><parameter>varname</parameter></term>
25
+
<term><parameter>option</parameter></term>
26
26
<listitem>
27
27
<para>
28
28
The configuration option name.
...
...
@@ -48,7 +48,7 @@
48
48
<programlisting role="php">
49
49
<![CDATA[
50
50
<?php
51
-
$setting = 'y2k_compliance';
51
+
$setting = 'html_errors';
52
52

53
53
echo 'Current value for \'' . $setting . '\': ' . ini_get($setting), PHP_EOL;
54
54

...
...
@@ -63,9 +63,9 @@ echo 'Original value for \'' . $setting . '\': ' . ini_get($setting), PHP_EOL;
63
63
&example.outputs;
64
64
<screen>
65
65
<![CDATA[
66
-
Current value for 'y2k_compliance': 1
67
-
New value for 'y2k_compliance': 0
68
-
Original value for 'y2k_compliance': 1
66
+
Current value for 'html_errors': 1
67
+
New value for 'html_errors': 0
68
+
Original value for 'html_errors': 1
69
69
]]>
70
70
</screen>
71
71
</example>
...
...
@@ -84,7 +84,6 @@ Original value for 'y2k_compliance': 1
84
84
</refsect1>
85
85

86
86
</refentry>
87
-

88
87
<!-- Keep this comment at the end of the file
89
88
Local variables:
90
89
mode: sgml
91
90