array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'uri-whatwg-url.tounicodestring.php', 1 => 'Uri\\WhatWg\\Url::toUnicodeString', 2 => 'Recompose the URL as a Unicode string', ), 'up' => array ( 0 => 'class.uri-whatwg-url.php', 1 => 'Uri\\WhatWg\\Url', ), 'prev' => array ( 0 => 'uri-whatwg-url.toasciistring.php', 1 => 'Uri\\WhatWg\\Url::toAsciiString', ), 'next' => array ( 0 => 'uri-whatwg-url.unserialize.php', 1 => 'Uri\\WhatWg\\Url::__unserialize', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/uri/uri/whatwg/url/tounicodestring.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(PHP 8 >= 8.5.0)
Uri\WhatWg\Url::toUnicodeString — Recompose the URL as a Unicode string
Recomposes the URL as a string, where the host component may contain Unicode characters.
Bu işlevin bağımsız değişkeni yoktur.
Returns the recomposed URL as a Unicode string.
Örnek 1 Uri\WhatWg\Url::toUnicodeString() basic example
<?php
$url = new \Uri\WhatWg\Url("https://example.com/foo/bar?baz");
echo $url->toUnicodeString();
?>Yukarıdaki örneğin çıktısı:
https://example.com/foo/bar?baz