PHP 8.3.4 Released!

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() ハンドラを処理します。

DateTimeImmutable::__set_state() に似ていますが、 DateTime を使って動作します。

パラメータ

array

初期化配列。

戻り値

新しい DateTime オブジェクトのインスタンスを返します。

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top