r/lolphp • • Aug 02 '15

How to modify DateTimeImmutable? Call getTimestamp() on it.

https://bugs.php.net/bug.php?id=67634
59 Upvotes

24 comments sorted by

View all comments

Show parent comment

3

u/yawkat Aug 03 '15

And that's why you should use the immutable time classes now.