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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: webmaster at telescopium dot dk
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-26 02:10 UTC] andy@php.net
2000 is a leap year...
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC