ConFoo Montreal 2026: Call for Papers

Voting

: max(one, eight)?
(Example: nine)

The Note You're Voting On

mail at pascalhofmann dot de
8 years ago
When looping over a DatePeriod object, the returned objects always implement DateTimeInterface. The exact type returned depends on how the DatePeriod was created. If $start was a DateTimeImmutable, the objects returned will be of type DateTimeImmutable. If a DateTime object was used, the objects returned will be of type DateTime.

<< Back to user notes page

To Top