Last updated 2 years ago
$_SERVER = [ 'HTTPS' => true, 'SERVER_NAME' => 'example.com', 'REQUEST_URI' => '/search?offset=10' ];
Request::path(); // Return url path '/search'
Request::url()
Compiled variable of SCHEME, HOST and URI
SCHEME
HOST
URI
Request::path()
URI without query string or fragment