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
 [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

Pull Requests

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: Tue Oct 15 22:01:26 2024 UTC