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.

参见

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top