Bug #1016: function checkdate() doc incorrectly describes action for years < 100

From: Date: Wed, 30 Dec 1998 11:34:42 +0000
Subject: Bug #1016: function checkdate() doc incorrectly describes action for years < 100
Groups: php.dev 
Request: Send a blank email to php-dev+get-3165@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: Documentation problem Bug description: function checkdate() doc incorrectly describes action for years &lt; 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@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#3165) next »