略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: DateTime::__set_state

2024-05-02

DateTime::__set_state

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

DateTime::__set_state__set_state 魔术方法处理函数

说明

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

__set_state() 魔术方法处理函数。

参数

array

用来初始化对象属性值的数组。

返回值

返回 DateTime 对象实例。

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/datetime.set-state.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3