reference/info/functions/restore-include-path.xml
f112cc1ec6335a62d03a3de0da4f03ea3f5d0e03
f112cc1ec6335a62d03a3de0da4f03ea3f5d0e03
...
...
@@ -6,6 +6,10 @@
6
6
<refpurpose>Restores the value of the include_path configuration option</refpurpose>
7
7
</refnamediv>
8
8
9
+
<refsynopsisdiv>
10
+
&warn.deprecated.function-7-4-0.removed-8-0-0;
11
+
</refsynopsisdiv>
12
+
9
13
<refsect1 role="description">
10
14
&reftitle.description;
11
15
<methodsynopsis>
...
...
@@ -19,6 +23,11 @@
19
23
</simpara>
20
24
</refsect1>
21
25
26
+
<refsect1 role="parameters">
27
+
&reftitle.parameters;
28
+
&no.function.parameters;
29
+
</refsect1>
30
+
22
31
<refsect1 role="returnvalues">
23
32
&reftitle.returnvalues;
24
33
<para>
...
...
@@ -26,6 +35,34 @@
26
35
</para>
27
36
</refsect1>
28
37
38
+
<refsect1 role="changelog">
39
+
&reftitle.changelog;
40
+
<informaltable>
41
+
<tgroup cols="2">
42
+
<thead>
43
+
<row>
44
+
<entry>&Version;</entry>
45
+
<entry>&Description;</entry>
46
+
</row>
47
+
</thead>
48
+
<tbody>
49
+
<row>
50
+
<entry>8.0.0</entry>
51
+
<entry>
52
+
&removed.function;
53
+
</entry>
54
+
</row>
55
+
<row>
56
+
<entry>7.4.0</entry>
57
+
<entry>
58
+
&deprecated.function;
59
+
</entry>
60
+
</row>
61
+
</tbody>
62
+
</tgroup>
63
+
</informaltable>
64
+
</refsect1>
65
+
29
66
<refsect1 role="examples">
30
67
&reftitle.examples;
31
68
<para>
...
...
@@ -41,10 +78,9 @@ set_include_path('/inc');
41
78
42
79
echo get_include_path(); // /inc
43
80
44
-
// Works as of PHP 4.3.0
45
81
restore_include_path();
46
82
47
-
// Works in all PHP versions
83
+
// Or using ini_restore()
48
84
ini_restore('include_path');
49
85
50
86
echo get_include_path(); // .:/usr/local/lib/php
51
87