8000 fix readlink description · symfony/symfony-docs@a2dd7ee · GitHub
[go: up one dir, main page]

Skip to content

Commit a2dd7ee

Browse files
authored
fix readlink description
readlink() for Windows misleading
1 parent b217159 commit a2dd7ee

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