|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-09-06 11:46 UTC] invisiblexman2010 at gmail dot com
-Summary: incorrect results
+Summary: checkdate() returns incorrect results
-PHP Version: Irrelevant
+PHP Version: 5.3.2
[2011-09-06 11:46 UTC] invisiblexman2010 at gmail dot com
[2011-09-06 12:03 UTC] derick@php.net
-Status: Open
+Status: Bogus
[2011-09-06 12:03 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 14:00:01 2025 UTC |
Description: ------------ Function checkdate() returns incorrect results in some cases, when passed February 29 leap year. Test script: --------------- var_dump(checkdate('02', '29', '2100')); var_dump(checkdate('02', '29', '1900')); Expected result: ---------------- bool(true) bool(true) Actual result: -------------- bool(false) bool(false)