Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Uri\WhatWg\Url::toUnicodeStringUri\WhatWg\Url::withFragment>
^Uri\WhatWg\UrlLast updated: Mon, 26 Oct 2026

Uri\WhatWg\Url::__unserialize

(PHP 8 >= 8.5.0)

Uri\WhatWg\Url::__unserialize — Deserialize the array from the data parameter into a Url object

Description

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

Deserializes the array from the data parameter into a Uri\WhatWg\Url object.

Parameters

data

The serialized data as an array.

Return Values

No value is returned.

Errors/Exceptions

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.

See Also


<Uri\WhatWg\Url::toUnicodeStringUri\WhatWg\Url::withFragment>
^Uri\WhatWg\UrlLast updated: Mon, 26 Oct 2026