Date: 12/30/98
- Next message: douw <email protected>: "[PHP-DEV] Bug #1017: function checkdate() incorrectly handles years < 0"
- Previous message: kate <email protected>: "[PHP-DEV] Bug #1015: php3_fdf_get_value in fdf.c does not work - error: Buffer too short"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: douw <email protected>
Operating system: Irix 6.3
PHP version: 3.0.6
PHP Bug Type: Documentation problem
Bug description: function checkdate() doc incorrectly describes action for years < 100
The checkdate() documentation , function.checkdate.html, states that a date is considered valid if the year is between 1900 and 32767 inclusive. However, if the year < 100, then it is incremented by 1900 before being tested. So years in the range [-1900,99] 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>
- Next message: douw <email protected>: "[PHP-DEV] Bug #1017: function checkdate() incorrectly handles years < 0"
- Previous message: kate <email protected>: "[PHP-DEV] Bug #1015: php3_fdf_get_value in fdf.c does not work - error: Buffer too short"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

