diff --git a/reference/phar/Phar/extractTo.xml b/reference/phar/Phar/extractTo.xml index 59d34b8ada0e..525e842ae2e8 100644 --- a/reference/phar/Phar/extractTo.xml +++ b/reference/phar/Phar/extractTo.xml @@ -25,6 +25,16 @@ set to true to enable overwriting of files. This method is similar to ZipArchive::extractTo. + + + + Extraction follows any existing symlinks in the target + directory. If there is a symlink to some other + directory, files may be extracted outside of the desired location; if + there is a symlink to a file, the target of the symlink will be + overwritten when overwrite is true. + + diff --git a/reference/phar/PharData/extractTo.xml b/reference/phar/PharData/extractTo.xml index 2b95f74b40d3..f71bdc5952bf 100644 --- a/reference/phar/PharData/extractTo.xml +++ b/reference/phar/PharData/extractTo.xml @@ -25,6 +25,16 @@ set to true to enable overwriting of files. This method is similar to ZipArchive::extractTo. + + + + Extraction follows any existing symlinks in the target + directory. If there is a symlink to some other + directory, files may be extracted outside of the desired location; if + there is a symlink to a file, the target of the symlink will be + overwritten when overwrite is true. + +