DateTime
PHP Manual

DateTime::__set_state

(PHP 5 >= 5.2.0)

DateTime::__set_stateThe __set_state handler

Opis

public static DateTime DateTime::__set_state ( array $array )

The __set_state() handler.

Parametry

array

Initialization array.

Zwracane wartoĊ›ci

Returns a new instance of a DateTime object.


DateTime
PHP Manual