php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33803 mktime is broken in 5.1.0b3
Submitted: 2005-07-21 14:21 UTC Modified: 2005-07-21 14:58 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: mike at blueroot dot co dot uk Assigned:
Status: Closed Package: Date/time related
PHP Version: 5.1.0b3 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mike at blueroot dot co dot uk
New email:
PHP Version: OS:

 

 [2005-07-21 14:21 UTC] mike at blueroot dot co dot uk
Description:
------------
mktime is broken in 5.1.0b3, it is not broken in 5.1.0b2


Reproduce code:
---------------
var_dump(mktime(1,0,0,1,1,05));


Expected result:
----------------
int(1104541200)


Actual result:
--------------
in php 5.0.1b3

bool(false)


php-5.1.0b2 returns int(1104541200)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-07-21 14:32 UTC] derick@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip
 [2005-07-21 14:58 UTC] mike at blueroot dot co dot uk
Working in latest snapshot
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 20:01:32 2024 UTC