Date: 01/18/99
- Next message: timothy <email protected>: "[PHP-DEV] Bug #1077: fgets and fgetc require strlen for lengths read"
- Previous message: Bug Database: "[PHP-DEV] Bug #1017 Updated: function checkdate() incorrectly handles years < 0"
- Next in thread: Bug Database: "[PHP-DEV] Bug #1016 Updated: function checkdate() doc incorrectly describes action for years < 100"
- Maybe reply: Bug Database: "[PHP-DEV] Bug #1016 Updated: function checkdate() doc incorrectly describes action for years < 100"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 1016
User Update by: douw <email protected>
Status: Open
Bug Type: Documentation problem
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.
Full Bug description available at: http://ca.php.net/bugs.php3?id=1016
-- 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: timothy <email protected>: "[PHP-DEV] Bug #1077: fgets and fgetc require strlen for lengths read"
- Previous message: Bug Database: "[PHP-DEV] Bug #1017 Updated: function checkdate() incorrectly handles years < 0"
- Next in thread: Bug Database: "[PHP-DEV] Bug #1016 Updated: function checkdate() doc incorrectly describes action for years < 100"
- Maybe reply: Bug Database: "[PHP-DEV] Bug #1016 Updated: function checkdate() doc incorrectly describes action for years < 100"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

