php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4221 a crash on a date later than 2030
Submitted: 2000-04-22 11:54 UTC Modified: 2000-06-13 23:25 UTC
From: sbernard at mouzaia dot com Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0 Release Candidate 1 OS: win 98
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: sbernard at mouzaia dot com
New email:
PHP Version: OS:

 

 [2000-04-22 11:54 UTC] sbernard at mouzaia dot com
$query  .= " date_valide_fin='"   . date('Y-m-d', mktime(0,0,0,12,31,2030 )) . "'";

In cannot even use 2040 ! I wanted to use 2099. If I try with 1999, no pb ! 

Good luck !


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-13 23:25 UTC] andrei at cvs dot php dot net
Dates past 2038 are invalid in UNIX anyway, but it shouldn't
crash - try the latest version.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 07 14:01:37 2025 UTC