reference/info/functions/get-include-path.xml
8dd14a886c7e954cef181c374b6f05cc7149e643
...
...
@@ -9,8 +9,8 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>string</type><methodname>get_include_path</methodname>
13
-
<void />
12
+
<type class="union"><type>string</type><type>false</type></type><methodname>get_include_path</methodname>
13
+
<void/>
14
14
</methodsynopsis>
15
15
<simpara>
16
16
Gets the current <link linkend="ini.include-path">include_path</link>
...
...
@@ -18,10 +18,15 @@
18
18
</simpara>
19
19
</refsect1>
20
20

21
+
<refsect1 role="parameters">
22
+
&reftitle.parameters;
23
+
&no.function.parameters;
24
+
</refsect1>
25
+

21
26
<refsect1 role="returnvalues">
22
27
&reftitle.returnvalues;
23
28
<para>
24
-
Returns the path, as a string.
29
+
Returns the path, as a string, &return.falseforfailure;.
25
30
</para>
26
31
</refsect1>
27
32

...
...
@@ -33,10 +38,9 @@
33
38
<programlisting role="php">
34
39
<![CDATA[
35
40
<?php
36
-
// Works as of PHP 4.3.0
37
41
echo get_include_path();
38
42

39
-
// Works in all PHP versions
43
+
// Or using ini_get()
40
44
echo ini_get('include_path');
41
45
?>
42
46
]]>
...
...
@@ -58,7 +62,6 @@ echo ini_get('include_path');
58
62
</refsect1>
59
63

60
64
</refentry>
61
-

62
65
<!-- Keep this comment at the end of the file
63
66
Local variables:
64
67
mode: sgml
65
68