diff --git a/reference/filesystem/functions/fileatime.xml b/reference/filesystem/functions/fileatime.xml index 42f1a73cf7..7536b4f69f 100644 --- a/reference/filesystem/functions/fileatime.xml +++ b/reference/filesystem/functions/fileatime.xml @@ -1,5 +1,5 @@ - + fileatime @@ -79,6 +79,11 @@ if (file_exists($filename)) { common example. On such filesystems this function will be useless. + + + Note that the time resolution may be different from the file system to another. + + ¬e.clearstatcache; &tip.fopen-wrapper.stat; diff --git a/reference/filesystem/functions/filectime.xml b/reference/filesystem/functions/filectime.xml index 496477beb1..ad8b7f5e34 100644 --- a/reference/filesystem/functions/filectime.xml +++ b/reference/filesystem/functions/filectime.xml @@ -1,5 +1,5 @@ - + filectime @@ -83,6 +83,11 @@ if (file_exists($filename)) { time for Unix files in most Unix filesystems. + + + Note that the time resolution may be different from the file system to another. + + ¬e.clearstatcache; &tip.fopen-wrapper.stat; diff --git a/reference/filesystem/functions/filemtime.xml b/reference/filesystem/functions/filemtime.xml index 79e161c054..be7b54f111 100644 --- a/reference/filesystem/functions/filemtime.xml +++ b/reference/filesystem/functions/filemtime.xml @@ -1,5 +1,5 @@ - + filemtime @@ -66,6 +66,11 @@ if (file_exists($filename)) { &reftitle.notes; + + + Note that the time resolution may be different from the file system to another. + + ¬e.clearstatcache; &tip.fopen-wrapper.stat; diff --git a/reference/filesystem/functions/stat.xml b/reference/filesystem/functions/stat.xml index 257b8f2415..3057a7e893 100644 --- a/reference/filesystem/functions/stat.xml +++ b/reference/filesystem/functions/stat.xml @@ -1,5 +1,5 @@ - + stat @@ -168,6 +168,11 @@ &reftitle.notes; + + + Note that the time resolution may be different from the file system to another. + + ¬e.clearstatcache; &tip.fopen-wrapper.stat; diff --git a/reference/filesystem/functions/touch.xml b/reference/filesystem/functions/touch.xml index 80db6ef47b..db07b4c86e 100644 --- a/reference/filesystem/functions/touch.xml +++ b/reference/filesystem/functions/touch.xml @@ -1,5 +1,5 @@ - + touch @@ -114,6 +114,11 @@ if (touch($FileName)) { &reftitle.notes; + + + Note that the time resolution may be different from the file system to another. + + Prior to PHP 5.3.0 it was not possible to change the modification time