php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41551 win 2K
Submitted: 2007-05-31 15:44 UTC Modified: 2007-05-31 15:52 UTC
From: kondakov at dewia dot com Assigned:
Status: Not a bug Package: Date/time related
PHP Version: 5.2.2 OS: Win 2000, php 5.1.1 and 4.4.1
Private report: No CVE-ID: None
 [2007-05-31 15:44 UTC] kondakov at dewia dot com
Description:
------------
for the actual date is 31.05.2007

Reproduce code:
---------------
var_dump(strtolower(date('F')), strtolower(date('F',strtotime(' +1 month'))));


Expected result:
----------------
string(3) "may"
string(4) "june"

Actual result:
--------------
string(3) "may"
string(4) "july"

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-05-31 15:52 UTC] tony2001@php.net
See bug #41547 for the explanation.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 09 21:01:31 2024 UTC