(PHP 8 >= 8.5.0)
Uri\Rfc3986\Uri::toRawString — Recompose the raw URI
Recomposes the raw (non-normalized) URI to a String.
Diese Funktion besitzt keine Parameter.
Returns the recomposed raw (non-normalized) URI as a String.
Beispiel #1 Uri\Rfc3986\Uri::toRawString() basic example
<?php
$uri = new \Uri\Rfc3986\Uri("https://example.com/foo/bar?baz");
echo $uri->toRawString();
?>Das oben gezeigte Beispiel erzeugt folgende Ausgabe:
https://example.com/foo/bar?baz