note 115313 deleted from datetimeimmutable.modify by salathe
| From: | salathe@php.net | Date: | Fri, 04 Jul 2014 08:02:52 +0000 |
| Subject: | note 115313 deleted from datetimeimmutable.modify by salathe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-199839@lists.php.net to get a copy of this message | ||
Note Submitter: Coda
----
While on the surface this appears to be an oxymoron, note that the return type is a new
DateTimeImmutable object -- that is, this returns an object with the requested changes, while
leaving the original intact.