mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
- 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:
parent
225030a7d6
commit
a55d376298
1 changed files with 5 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue