From a2dd7eeb0f7c273cfff0cb8247e2f5cd5987f46d Mon Sep 17 00:00:00 2001 From: Roman Martinuk Date: Thu, 27 May 2021 18:47:28 +0300 Subject: [PATCH] fix readlink description readlink() for Windows misleading --- components/filesystem.rst | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/components/filesystem.rst b/components/filesystem.rst index d43632b9de6..0c5b56a66b5 100644 --- a/components/filesystem.rst +++ b/components/filesystem.rst @@ -214,10 +214,7 @@ support symbolic links, a third boolean argument is available:: :method:`Symfony\\Component\\Filesystem\\Filesystem::readlink` read links targets. -PHP's :phpfunction:`readlink` function returns the target of a symbolic link. However, its behavior -is completely different under Windows and Unix. On Windows systems, ``readlink()`` -resolves recursively the children links of a link until a final target is found. On -Unix-based systems ``readlink()`` only resolves the next link. +PHP's :phpfunction:`readlink` function returns the target of a symbolic link. The :method:`Symfony\\Component\\Filesystem\\Filesystem::readlink` method provided by the Filesystem component always behaves in the same way::