Added note on fileatime, filectime, filemtime, stat and touch regrading time resolution from file system to another

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265254 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Kalle Sommer Nielsen 2008-08-21 23:50:27 +00:00
parent 875946ea1f
commit 43de627a27
5 changed files with 30 additions and 5 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.10 $ -->
<!-- $Revision: 1.11 $ -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.fileatime">
<refnamediv>
<refname>fileatime</refname>
@ -79,6 +79,11 @@ if (file_exists($filename)) {
common example. On such filesystems this function will be useless.
</para>
</note>
<note>
<para>
Note that the time resolution may be different from the file system to another.
</para>
</note>
&note.clearstatcache;
&tip.fopen-wrapper.stat;
</refsect1>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.11 $ -->
<!-- $Revision: 1.12 $ -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.filectime">
<refnamediv>
<refname>filectime</refname>
@ -83,6 +83,11 @@ if (file_exists($filename)) {
time for Unix files in most Unix filesystems.
</para>
</note>
<note>
<para>
Note that the time resolution may be different from the file system to another.
</para>
</note>
&note.clearstatcache;
&tip.fopen-wrapper.stat;
</refsect1>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.8 $ -->
<!-- $Revision: 1.9 $ -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.filemtime">
<refnamediv>
<refname>filemtime</refname>
@ -66,6 +66,11 @@ if (file_exists($filename)) {
<refsect1 role="notes">
&reftitle.notes;
<note>
<para>
Note that the time resolution may be different from the file system to another.
</para>
</note>
&note.clearstatcache;
&tip.fopen-wrapper.stat;
</refsect1>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.19 $ -->
<!-- $Revision: 1.20 $ -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.stat">
<refnamediv>
<refname>stat</refname>
@ -168,6 +168,11 @@
<refsect1 role="notes">
&reftitle.notes;
<note>
<para>
Note that the time resolution may be different from the file system to another.
</para>
</note>
&note.clearstatcache;
&tip.fopen-wrapper.stat;
</refsect1>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.15 $ -->
<!-- $Revision: 1.16 $ -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.touch">
<refnamediv>
<refname>touch</refname>
@ -114,6 +114,11 @@ if (touch($FileName)) {
<refsect1 role="notes">
&reftitle.notes;
<note>
<para>
Note that the time resolution may be different from the file system to another.
</para>
</note>
<warning>
<para>
Prior to PHP 5.3.0 it was not possible to change the modification time