svn: /phpdoc/en/trunk/reference/filesystem/functions/ stat.xml
| From: | Richard Quadling | Date: | Wed, 01 Sep 2010 23:58:52 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/filesystem/functions/ stat.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-7056@lists.php.net to get a copy of this message | ||
rquadling Wed, 01 Sep 2010 23:58:52 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=302986
Log:
Reverted example and simply changed "before" to "after".
Changed paths:
U phpdoc/en/trunk/reference/filesystem/functions/stat.xml
Modified: phpdoc/en/trunk/reference/filesystem/functions/stat.xml
===================================================================
--- phpdoc/en/trunk/reference/filesystem/functions/stat.xml 2010-09-01 23:21:03 UTC (rev 302985)
+++ phpdoc/en/trunk/reference/filesystem/functions/stat.xml 2010-09-01 23:58:52 UTC (rev 302986)
@@ -211,9 +211,9 @@
} else {
/*
* We want the access time to be 1 week
- * before the current access time.
+ * after the current access time.
*/
- $atime = strtotime('-1 week', $stat['atime']);
+ $atime = $stat['atime'] + 604800;
/* Touch the file */
if (!touch('some_file.txt', time(), $atime)) {