Php/docs/datetime.wakeup

来自菜鸟教程
跳转至:导航、​搜索

DateTime::__wakeup

DateTimeImmutable::__wakeup

DateTimeInterface::__wakeup

(PHP 5 >= 5.3.0, PHP 7)

DateTime::__wakeup -- DateTimeImmutable::__wakeup -- DateTimeInterface::__wakeupThe __wakeup handler


说明

public DateTime::__wakeup ( )

public DateTimeImmutable::__wakeup ( )

public DateTimeInterface::__wakeup ( )

The __wakeup() handler.


参数

此函数没有参数。


返回值

Initializes a DateTime object.