php.net |  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
Description:
------------
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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-01-03 22:43 UTC] derick@php.net
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] derick@php.net
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
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

Fixed for 5.1.2 and later
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Fri Apr 18 15:02:26 2014 UTC