php.net |  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
 [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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-26 02:10 UTC] andy@php.net
2000 is a leap year...
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 12 21:01:28 2024 UTC