reference/dir/functions/getcwd.xml
aa0cb38a27858dac31214068ead6f600cd6047a2
...
...
@@ -18,6 +18,11 @@
18
18
</para>
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>
...
...
@@ -33,18 +38,6 @@
33
38
</para>
34
39
</refsect1>
35
40

36
-
<refsect1 role="notes">
37
-
<caution>
38
-
<para>
39
-
If the PHP interpreter has been built with ZTS (Zend Thread Safety) enabled,
40
-
the current working directory returned by <function>getcwd</function>
41
-
may be different from that returned by operating system interfaces.
42
-
External libraries (invoked through <link linkend="book.ffi">FFI</link>)
43
-
which depend on the current working directory will be affected.
44
-
</para>
45
-
</caution>
46
-
</refsect1>
47
-

48
41
<refsect1 role="examples">
49
42
&reftitle.examples;
50
43
<para>
...
...
@@ -76,6 +69,18 @@ echo getcwd() . "\n";
76
69
</para>
77
70
</refsect1>
78
71

72
+
<refsect1 role="notes">
73
+
<caution>
74
+
<para>
75
+
If the PHP interpreter has been built with ZTS (Zend Thread Safety) enabled,
76
+
the current working directory returned by <function>getcwd</function>
77
+
may be different from that returned by operating system interfaces.
78
+
External libraries (invoked through <link linkend="book.ffi">FFI</link>)
79
+
which depend on the current working directory will be affected.
80
+
</para>
81
+
</caution>
82
+
</refsect1>
83
+

79
84
<refsect1 role="seealso">
80
85
&reftitle.seealso;
81
86
<para>
82
87