File tree 1 file changed +3
-7
lines changed
1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -214,13 +214,9 @@ support symbolic links, a third boolean argument is available::
214
214
215
215
:method: `Symfony\\ Component\\ Filesystem\\ Filesystem::readlink ` read links targets.
216
216
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.
221
-
222
- The :method: `Symfony\\ Component\\ Filesystem\\ Filesystem::readlink ` method provided
223
- by the Filesystem component always behaves in the same way::
217
+ The :method: `Symfony\\ Component\\ Filesystem\\ Filesystem::readlink ` method
218
+ provided by the Filesystem component behaves in the same way on all operating
219
+ systems (unlike PHP's :phpfunction: `readlink ` function)::
224
220
225
221
// returns the next direct target of the link without considering the existence of the target
226
222
$filesystem->readlink('/path/to/link');
You can’t perform that action at this time.
0 commit comments