note 95760 added to function.date-create
| From: | 88cavanaugh+phpmanual at gmail dot com | Date: | Wed, 20 Jan 2010 19:34:26 +0000 |
| Subject: | note 95760 added to function.date-create | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-165141@lists.php.net to get a copy of this message | ||
Passing in the empty string ("") results in returning the current date - surprising
because this is not the same behavior as strtotime(), as the documentation claims. Nonsense strings
do seem to properly return false(bool).
----
Server IP: 69.147.83.197
Probable Submitter: 98.244.107.203
----
Manual Page -- http://www.php.net/manual/en/function.date-create.php
Edit -- https://master.php.net/note/edit/95760
Del: integrated -- https://master.php.net/note/delete/95760/integrated
Del: useless -- https://master.php.net/note/delete/95760/useless
Del: bad code -- https://master.php.net/note/delete/95760/bad+code
Del: spam -- https://master.php.net/note/delete/95760/spam
Del: non-english -- https://master.php.net/note/delete/95760/non-english
Del: in docs -- https://master.php.net/note/delete/95760/in+docs
Del: other reasons-- https://master.php.net/note/delete/95760
Reject -- https://master.php.net/note/reject/95760
Search -- https://master.php.net/manage/user-notes.php