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

From: Date: Wed, 01 Sep 2010 23:13:12 +0000
Subject: Re: svn: /phpdoc/en/trunk/reference/filesystem/functions/ stat.xml
References: 1  Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-7055@lists.php.net to get a copy of this message
On Thu, Sep 2, 2010 at 12:59 AM, Richard Quadling <rquadling@php.net> wrote: > 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']); maybe add it as comment, but strtotime is horribly slow, and I'm not sure to use it here is a good idea. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org

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