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

From: Date: Thu, 02 Sep 2010 00:02:36 +0000
Subject: Re: svn: /phpdoc/en/trunk/reference/filesystem/functions/ stat.xml
References: 1 2  Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-7057@lists.php.net to get a copy of this message
On 2 September 2010 00:13, Pierre Joye <pierre.php@gmail.com> wrote: > 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 > Yeah. I suppose so. Done. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY

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