svn: /phpdoc/en/trunk/reference/filesystem/functions/ stat.xml

From: Date: Wed, 01 Sep 2010 22:59:25 +0000
Subject: svn: /phpdoc/en/trunk/reference/filesystem/functions/ stat.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-7054@lists.php.net to get a copy of this message
rquadling Wed, 01 Sep 2010 22:59:25 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=302984 Log: Correct example. Fix #52764 Bug: http://bugs.php.net/52764 (Open) should be "after" not "before" 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 20:54:34 UTC (rev 302983) +++ phpdoc/en/trunk/reference/filesystem/functions/stat.xml 2010-09-01 22:59:25 UTC (rev 302984) @@ -213,7 +213,7 @@ * We want the access time to be 1 week * before the current access time. */ - $atime = $stat['atime'] + 604800; + $atime = strtotime('-1 week', $stat['atime']); /* Touch the file */ if (!touch('some_file.txt', time(), $atime)) {

« previous php.doc.cvs (#7054) next »