grammar & flow

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@205153 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Sean Coates 2006-01-13 16:04:01 +00:00
parent a098c540c8
commit b203243154

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.10 $ -->
<!-- $Revision: 1.11 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
<refentry id="function.touch">
<refnamediv>
@ -15,22 +15,21 @@
<methodparam choice="opt"><type>int</type><parameter>atime</parameter></methodparam>
</methodsynopsis>
<para>
Attempts to set the access and modification time of the file named by
<parameter>filename</parameter> to the value given by
<parameter>time</parameter>. If the parameter <parameter>time</parameter>
is not given, uses the present time. This is equivalent to what utime
(sometimes referred to as utimes) does. If the third parameter
<parameter>atime</parameter> is present, the access time of the given
filename is set to the value of <parameter>atime</parameter>.
Attempts to set the access and modification times of the file named in the
<parameter>filename</parameter> parameter to the value given in
<parameter>time</parameter>. If <parameter>time</parameter>
is not supplied, the current system time is used. If the third parameter,
is present, the access time of the given
filename is set to the value of <parameter>atime</parameter>.
Note that the access time is always modified, regardless of the number
of parameters.
</para>
<para>
If the file does not exist, it is created. &return.success;
If the file does not exist, it will be created. &return.success;
</para>
<warning>
<para>
It's not currently possible to change the modification time of a
It is not currently possible to change the modification time of a
directory with this function under Windows.
</para>
</warning>