From 1dd89405e76f6c763d28ecf20ee73662e14045eb Mon Sep 17 00:00:00 2001 From: Pieter Hordijk Date: Wed, 5 Apr 2017 19:02:28 +0000 Subject: [PATCH] Fixed description in the case of renaming a directory to an existing target. https://bugs.php.net/bug.php?id=73997 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342252 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/filesystem/functions/rename.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/reference/filesystem/functions/rename.xml b/reference/filesystem/functions/rename.xml index 66a410bd26..88b9711dfe 100644 --- a/reference/filesystem/functions/rename.xml +++ b/reference/filesystem/functions/rename.xml @@ -17,7 +17,10 @@ Attempts to rename oldname to newname, moving it between directories if necessary. - If newname exists, it will be overwritten. + If renaming a file and newname exists, + it will be overwritten. If renaming a directory and + newname exists, + this function will emit a warning.