reference/info/functions/set-include-path.xml
0c9c2dd669fe9395eaa73d487fbd160f9057429a
...
...
@@ -9,8 +9,8 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>string</type><methodname>set_include_path</methodname>
13
-
<methodparam><type>string</type><parameter>new_include_path</parameter></methodparam>
12
+
<type class="union"><type>string</type><type>false</type></type><methodname>set_include_path</methodname>
13
+
<methodparam><type>string</type><parameter>include_path</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
Sets the <link linkend="ini.include-path">include_path</link>
...
...
@@ -23,7 +23,7 @@
23
23
<para>
24
24
<variablelist>
25
25
<varlistentry>
26
-
<term><parameter>new_include_path</parameter></term>
26
+
<term><parameter>include_path</parameter></term>
27
27
<listitem>
28
28
<para>
29
29
The new value for the <link
...
...
@@ -51,10 +51,9 @@
51
51
<programlisting role="php">
52
52
<![CDATA[
53
53
<?php
54
-
// Works as of PHP 4.3.0
55
54
set_include_path('/usr/lib/pear');
56
55

57
-
// Works in all PHP versions
56
+
// Or using ini_set()
58
57
ini_set('include_path', '/usr/lib/pear');
59
58
?>
60
59
]]>
...
...
@@ -97,7 +96,6 @@ set_include_path(get_include_path() . PATH_SEPARATOR . $path);
97
96
</refsect1>
98
97

99
98
</refentry>
100
-

101
99
<!-- Keep this comment at the end of the file
102
100
Local variables:
103
101
mode: sgml
104
102