- Document third parameter

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@82120 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Markus Fischer 2002-05-13 18:39:48 +00:00
parent 225030a7d6
commit a55d376298

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
<refentry id="function.touch">
<refnamediv>
@ -12,12 +12,15 @@
<type>int</type><methodname>touch</methodname>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>time</parameter></methodparam>
<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
filename to the value given by time. If the option <parameter>time</parameter> is not
given, uses the present time. This is equivalent to what utime
(sometimes referred to as utimes) does.
(sometimes referred to as utimes) does. If the third option
<parameter>atime</parameter> is present, the access time of the given
filename is also modified.
</para>
<para>
If the file does not exist, it is created.