diff --git a/components/filesystem.rst b/components/filesystem.rst index 9a0c3579974..2b04dde4924 100644 --- a/components/filesystem.rst +++ b/components/filesystem.rst @@ -216,7 +216,7 @@ support symbolic links, a third boolean argument is available:: :method:`Symfony\\Component\\Filesystem\\Filesystem::readlink` read links targets. -PHP's ``readlink()`` function returns the target of a symbolic link. However, its behavior +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.