Re: cvs: php4 /ext/standard datetime.c
| From: | Rasmus Lerdorf | Date: | Wed, 14 Jun 2000 20:36:16 +0000 |
| Subject: | Re: cvs: php4 /ext/standard datetime.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-271@lists.php.net to get a copy of this message | ||
> I really think that keeping it that way is not an option. It *will* break
> every script that uses checkdate() to verify form input. I'm not sure
> whether we should start testing for argument types wherever certain
> argument types don't make sense. There are hundreds if not thousands of
> such places.
I don't agree that there are thousands. checkdate() is essentially an
input checking function that checks to see if the arguments are within a
certain range and just returns true/false. Somewhat like is_numeric().
I think with the latest fix it makes sense.
-Rasmus