PHP Manual
Function Reference
Date and Time Related Extensions
Date/Time
DateTimeImmutable
DateTimeImmutable::add
DateTimeImmutable::__construct
DateTimeImmutable::createFromFormat
DateTimeImmutable::getLastErrors
DateTimeImmutable::modify
DateTimeImmutable::__set_state
DateTimeImmutable::setDate
DateTimeImmutable::setISODate
DateTimeImmutable::setTime
DateTimeImmutable::setTimestamp
DateTimeImmutable::setTimezone
DateTimeImmutable::sub
DateTimeImmutable::modify
DateTimeImmutable::setDate
DateTimeImmutable
PHP Manual
DateTimeImmutable::__set_state
The __set_state handler
Description
public
static
DateTimeImmutable
DateTimeImmutable::__set_state
(
array
$array
)
Like
DateTime::__set_state
but works with
DateTimeImmutable
.