DateTime::__set_state
(PHP 5 >= 5.3.0, PHP 7, PHP 8)
DateTime::__set_state — __set_state 魔术方法处理函数
参数
-
array
-
用来初始化对象属性值的数组。
返回值
返回 DateTime 对象实例。

User Contributed Notes
There are no user contributed notes for this page.
(PHP 5 >= 5.3.0, PHP 7, PHP 8)
DateTime::__set_state — __set_state 魔术方法处理函数
array
用来初始化对象属性值的数组。
返回 DateTime 对象实例。