DateTime::__set_state

(PHP 5 >= 5.3.0, PHP 7)

DateTime::__set_stateThe __set_state handler

Descrierea

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

The __set_state() handler.

Parametri

array

Initialization array.

Valorile întoarse

Returns a new instance of a DateTime object.