#35885 [Asn->Csd]: strtotime("NOW") no longer works
ID: 35885
Updated by: derick@php.net
Reported By: jon dot bertsch at ucop dot edu
-Status: Assigned
+Status: Closed
Bug Type: Date/time related
Operating System: SUSE9.2
PHP Version: 5.1.1
Assigned To: derick
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2006-01-03 23:03:04] jon dot bertsch at ucop dot edu
Thanks guys!
------------------------------------------------------------------------
[2006-01-03 22:43:40] 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-03 22:39:49] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.1-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.1-win32-latest.zip
------------------------------------------------------------------------
[2006-01-03 18:53:07] 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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35885&edit=1
Thread (5 messages)