reference/filesystem/functions/symlink.xml
46a0d3708e3c428ad8fa2e1dd38e4755863dc5c2
...
...
@@ -51,28 +51,13 @@
51
51
</para>
52
52
</refsect1>
53
53

54
-
<refsect1 role="changelog">
55
-
&reftitle.changelog;
54
+
<refsect1 role="errors">
55
+
&reftitle.errors;
56
56
<para>
57
-
<informaltable>
58
-
<tgroup cols="2">
59
-
<thead>
60
-
<row>
61
-
<entry>&Version;</entry>
62
-
<entry>&Description;</entry>
63
-
</row>
64
-
</thead>
65
-
<tbody>
66
-
<row>
67
-
<entry>5.3.0</entry>
68
-
<entry>
69
-
This function is now available on Windows platforms (Vista, Server
70
-
2008 or greater).
71
-
</entry>
72
-
</row>
73
-
</tbody>
74
-
</tgroup>
75
-
</informaltable>
57
+
The function fails, and issues <constant>E_WARNING</constant>,
58
+
if <parameter>link</parameter> already exists.
59
+
On Windows, the function also fails, and issues <constant>E_WARNING</constant>,
60
+
if <parameter>target</parameter> does not exist.
76
61
</para>
77
62
</refsect1>
78
63

...
...
@@ -96,17 +81,6 @@ echo readlink($link);
96
81
</para>
97
82
</refsect1>
98
83

99
-
<refsect1 role="notes">
100
-
&reftitle.notes;
101
-
<note>
102
-
<simpara>
103
-
Windows users should note that this function will only work if the system
104
-
you run PHP from is Windows Vista/Windows Server 2008 or newer. Windows
105
-
versions prior to that do not support symbolic links.
106
-
</simpara>
107
-
</note>
108
-
</refsect1>
109
-

110
84
<refsect1 role="seealso">
111
85
&reftitle.seealso;
112
86
<para>
...
...
@@ -114,6 +88,7 @@ echo readlink($link);
114
88
<member><function>link</function></member>
115
89
<member><function>readlink</function></member>
116
90
<member><function>linkinfo</function></member>
91
+
<member><function>unlink</function></member>
117
92
</simplelist>
118
93
</para>
119
94
</refsect1>
120
95