[PHP-DEV] Bug #1017: function checkdate() incorrectly handles years < 0 From: douw <email protected>
Date: 12/30/98

From: douw <email protected>
Operating system: Irix 6.3
PHP version: 3.0.6
PHP Bug Type: Misbehaving function
Bug description: function checkdate() incorrectly handles years &lt; 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 <email protected>
For help: php-dev-help <email protected>