|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12378 checkdate returns TRUE on false date
Submitted: 2001-07-25 15:47 UTC Modified: 2001-07-26 02:10 UTC
From: webmaster at telescopium dot dk Assigned:
Status: Not a bug Package: Date/time related
PHP Version: 4.0.6 OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
29 - 24 = ?
Subscribe to this entry?

 [2001-07-25 15:47 UTC] webmaster at telescopium dot dk
The checkdate doesn't validate correcly on all dates. 

checkdate(2,29,2000); returns true even thoug the year 2000 was not a leapyear.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-26 02:10 UTC]
2000 is a leap year...
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 27 10:01:30 2024 UTC