Bug #55619 [NEW]: incorrect results
| From: | invisiblexman2010 at gmail dot com | Date: | Tue, 06 Sep 2011 11:33:33 +0000 |
| Subject: | Bug #55619 [NEW]: incorrect results | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-163325@lists.php.net to get a copy of this message | ||
From:
Operating system: linux 2.6.32-33-generic on i686
PHP version: Irrelevant
Package: Date/time related
Bug Type: Bug
Bug description:incorrect results
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)
--
Edit bug report at https://bugs.php.net/bug.php?id=55619&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=55619&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=55619&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=55619&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=55619&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=55619&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=55619&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=55619&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=55619&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=55619&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=55619&r=support
Expected behavior: https://bugs.php.net/fix.php?id=55619&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=55619&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=55619&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=55619&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=55619&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=55619&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=55619&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=55619&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=55619&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=55619&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=55619&r=mysqlcfg