8000 minor #15381 fix readlink description (a1812) · symfony/symfony-docs@bbfc4cc · GitHub
[go: up one dir, main page]

Skip to content

Commit bbfc4cc

Browse files
committed
minor #15381 fix readlink description (a1812)
This PR was merged into the 4.4 branch. Discussion ---------- fix readlink description remove description readlink() for Windows misleading see symfony/symfony#40866 Commits ------- a2dd7ee fix readlink description
2 parents b217159 + a2dd7ee commit bbfc4cc

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

components/filesystem.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,10 +214,7 @@ support symbolic links, a third boolean argument is available::
214214

215215
:method:`Symfony\\Component\\Filesystem\\Filesystem::readlink` read links targets.
216216

217-
PHP's :phpfunction:`readlink` function returns the target of a symbolic link. However, its behavior
218-
is completely different under Windows and Unix. On Windows systems, ``readlink()``
219-
resolves recursively the children links of a link until a final target is found. On
220-
Unix-based systems ``readlink()`` only resolves the next link.
217+
PHP's :phpfunction:`readlink` function returns the target of a symbolic link.
221218

222219
The :method:`Symfony\\Component\\Filesystem\\Filesystem::readlink` method provided
223220
by the Filesystem component always behaves in the same way::

0 commit comments

Comments
 (0)
0