|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35885 strtotime("NOW") no longer works
Submitted: 2006-01-03 18:53 UTC Modified: 2006-01-04 22:41 UTC
From: jon dot bertsch at ucop dot edu Assigned: derick
Status: Closed Package: Date/time related
PHP Version: 5.1.1 OS: SUSE9.2
Private report: No CVE-ID:
 [2006-01-03 18:53 UTC] jon dot bertsch at ucop dot edu
strtotime("NOW") doesn't give any value. This worked in 
previous versions of PHP.

It works fine if you use strtotime("now").

Can you add a "tolowercase" call in the function? Please.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-01-03 22:43 UTC]
NO need to try that snapshot, it's not working. Tony, there is no problem with trying this yourself first :)

We will not do a general strtolower() on this, but instead make the keywords case insensitive.
 [2006-01-04 22:41 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

Fixed for 5.1.2 and later
PHP Copyright © 2001-2016 The PHP Group
All rights reserved.
Last updated: Fri Oct 21 22:01:39 2016 UTC