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
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: 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

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Sep 07 23:01:27 2024 UTC