reference/info/functions/restore-include-path.xml
8dd14a886c7e954cef181c374b6f05cc7149e643
...
...
@@ -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>
...
...
@@ -41,10 +50,9 @@ set_include_path('/inc');
41
50

42
51
echo get_include_path(); // /inc
43
52

44
-
// Works as of PHP 4.3.0
45
53
restore_include_path();
46
54

47
-
// Works in all PHP versions
55
+
// Or using ini_restore()
48
56
ini_restore('include_path');
49
57

50
58
echo get_include_path(); // .:/usr/local/lib/php
51
59