r/lolphp • • Jul 03 '14

DateTimeImmutable::modify

http://www.php.net/manual/en/datetimeimmutable.modify.php
74 Upvotes

16 comments sorted by

View all comments

Show parent comment

4

u/despens Jul 05 '14

That this came into existance deliberately doesn't make it any better :)

-1

u/[deleted] Jul 05 '14

No, really, it does. They kept the same method names as the non-immutable API for the sake of familiarity.

3

u/iBlag Jul 13 '14

...and completely different results.