note 113750 added to class.datetimeimmutable
| From: | jaimz at vertigolabs dot org | Date: | Mon, 25 Nov 2013 20:41:49 +0000 |
| Subject: | note 113750 added to class.datetimeimmutable | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-197637@lists.php.net to get a copy of this message | ||
It's useful to note (and it should be obvious) that while the documentation says that
\DateTimeImmutable should act just like a \DateTime object. That is true, until you use instanceof.
\DateTimeImmutable is not an instance of \DateTime
----
Server IP: 64.71.164.2
Probable Submitter: 65.24.45.204
----
Manual Page -- http://php.net/manual/en/class.datetimeimmutable.php
Edit -- https://master.php.net/note/edit/113750
Del: integrated -- https://master.php.net/note/delete/113750/integrated
Del: useless -- https://master.php.net/note/delete/113750/useless
Del: bad code -- https://master.php.net/note/delete/113750/bad+code
Del: spam -- https://master.php.net/note/delete/113750/spam
Del: non-english -- https://master.php.net/note/delete/113750/non-english
Del: in docs -- https://master.php.net/note/delete/113750/in+docs
Del: other reasons-- https://master.php.net/note/delete/113750
Reject -- https://master.php.net/note/reject/113750
Search -- https://master.php.net/manage/user-notes.php