Bug #1017: function checkdate() incorrectly handles years < 0
| From: | douw at vis dot co dot za | Date: | Wed, 30 Dec 1998 11:37:20 +0000 |
| Subject: | Bug #1017: function checkdate() incorrectly handles years < 0 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-3166@lists.php.net to get a copy of this message | ||
From: douw@vis.co.za
Operating system: Irix 6.3
PHP version: 3.0.6
PHP Bug Type: Misbehaving function
Bug description: function checkdate() incorrectly handles years < 0
In the checkdate() function, if the year < 100, then it is incremented by 1900 before being
tested. So negative years in the range [-1900,0] are considered valid.
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net