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 (profile)
Status: Closed Package: Date/time related
PHP Version: 5.1.1 OS: SUSE9.2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jon dot bertsch at ucop dot edu
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Sat Feb 01 06:01:31 2025 UTC