From 885d774a92a23e54f9fbf51902f36b0c5366fa6a Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Fri, 4 Jan 2002 13:36:20 +0000 Subject: [PATCH] Refine description of touch Add a note that should prevent others from reimplementing utime, because they did not find touch in the manual :-) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@66868 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/filesystem.xml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/functions/filesystem.xml b/functions/filesystem.xml index 04806f6438..290354bea6 100644 --- a/functions/filesystem.xml +++ b/functions/filesystem.xml @@ -1,5 +1,5 @@ - + Filesystem functions Filesystem @@ -2914,7 +2914,7 @@ fclose($temp); // this removes the file touch - Sets modification time of file + Sets access and modification time of file Description @@ -2930,9 +2930,10 @@ fclose($temp); // this removes the file - Attempts to set the modification time of the file named by + Attempts to set the access and modification time of the file named by filename to the value given by time. If the option time is not - given, uses the present time. + given, uses the present time. This is equivalent to what utime + (sometimes referred to as utimes) does. If the file does not exist, it is created.