array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'uri-whatwg-url.unserialize.php', 1 => 'Uri\\WhatWg\\Url::__unserialize', 2 => 'Deserialize the data parameter into a Url object', ), 'up' => array ( 0 => 'class.uri-whatwg-url.php', 1 => 'Uri\\WhatWg\\Url', ), 'prev' => array ( 0 => 'uri-whatwg-url.tounicodestring.php', 1 => 'Uri\\WhatWg\\Url::toUnicodeString', ), 'next' => array ( 0 => 'uri-whatwg-url.withfragment.php', 1 => 'Uri\\WhatWg\\Url::withFragment', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/uri/uri/whatwg/url/unserialize.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

Uri\WhatWg\Url::__unserialize

(PHP 8 >= 8.5.0)

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

Beschreibung

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

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

Parameter-Liste

data
The serialized data as an array.

Rückgabewerte

Es wird kein Wert zurückgegeben.

Fehler/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.

Siehe auch