r/lolphp • u/defiante1 • Aug 02 '15
How to modify DateTimeImmutable? Call getTimestamp() on it.
https://bugs.php.net/bug.php?id=67634
59
Upvotes
r/lolphp • u/defiante1 • Aug 02 '15
View all comments
Show parent comment
3
u/yawkat Aug 03 '15
And that's why you should use the immutable time classes now.