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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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 16:01:35 2025 UTC