Re: cvs: php4 /ext/standard datetime.c

From: Date: Wed, 14 Jun 2000 21:11:05 +0000
Subject: Re: cvs: php4 /ext/standard datetime.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-278@lists.php.net to get a copy of this message
Rasmus Lerdorf wrote: > > > 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. yet again no? what about checkdate(1,1,false) or checkdate(1,1,array())

« previous php.cvs (#278) next »