note 84033 deleted from function.strtotime by danbrown
| From: | danbrown@php.net | Date: | Wed, 25 Jun 2008 15:45:47 +0000 |
| Subject: | note 84033 deleted from function.strtotime by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-140806@lists.php.net to get a copy of this message | ||
Note Submitter: rohieb
Reason: 1
----
In my case, strftime() returns false if the date could not be parsed:
$ php -r "var_dump(strtotime('foo'));"
bool(false)
PHP 5.2.0, Linux, on console the same as with Apache 2.2