Skip to content

Uri: __toString Example

Terry L edited this page Jun 18, 2020 · 3 revisions

__toString

  • return string

Example:

$uri = new Uri('http://example.com:8888/demo/#section-1');

echo $uri;
// Outputs: http://example.com:8888/demo/#section-1
Clone this wiki locally