Re: cvs: php4 /ext/standard datetime.c
| From: | Zeev Suraski | Date: | Wed, 14 Jun 2000 21:51:09 +0000 |
| Subject: | Re: cvs: php4 /ext/standard datetime.c | ||
| References: | 1 2 3 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-275@lists.php.net to get a copy of this message | ||
At 22:42 14/06/2000, Andi Gutmans wrote:
Not in my opinion. I don't see why checking the year but not month and day is OK. In this case all should be checked.Mostly because it would fail anyway, since 0 is not a valid argument for neither of the two other fields. Perhaps it's not 100% consistent, but it works, and all of these checks are for cases in which people send dumb arguments to the functions anyway. Zeev -- Zeev Suraski <zeev@zend.com> http://www.zend.com/