PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

DateTime::__set_state

(PHP 5 >= 5.2.0)

DateTime::__set_stateThe __set_state handler

Description

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

The __set_state() handler.

Parameters

array

Initialization array.

Return Values

Returns a new instance of a DateTime object.

PHP Manual