note 103851 deleted from function.checkdate by danbrown
| From: | danbrown@php.net | Date: | Fri, 06 May 2011 16:59:55 +0000 |
| Subject: | note 103851 deleted from function.checkdate by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-179502@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
@Anonymous (13-Jul-2009 07:06)
The 'problem' you mention is not with checkdate but with preg_split: you're using it
the wrong way.
If you also check the original string to be 10 characters long, you have your full validation.