Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on PHP DateTimeImmutable::modify(). Parent comment
All the old datetime's methods modify the object in place, while none of DateTimeImmutable's methods do. It's not meant to be a drop-in replacement.
All the old datetime's methods modify the object in place, while none of DateTimeImmutable's methods do. It's not meant to be a drop-in replacement.