update page now

Uri\WhatWg\Url::__unserialize

(PHP 8 >= 8.5.0)

Uri\WhatWg\Url::__unserializeDeserialize the data parameter into a Url object

説明

public Uri\WhatWg\Url::__unserialize(array $data): void

Deserializes a data parameter into a Uri\WhatWg\Url object.

パラメータ

data
The serialized data as an array.

戻り値

値を返しません。

エラー / 例外

If the __unserialize() method is called on an already existing URL, Error is thrown.

If the resulting URI is invalid, a Uri\InvalidUriException is thrown.

参考

add a note

User Contributed Notes

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