note 113750 deleted from class.datetimeimmutable by salathe
| From: | salathe@php.net | Date: | Wed, 22 Oct 2014 12:37:05 +0000 |
| Subject: | note 113750 deleted from class.datetimeimmutable by salathe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-200713@lists.php.net to get a copy of this message | ||
Note Submitter: jaimz at vertigolabs dot org
----
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