Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Decodes URL-encoded string
urldecode(string $string): string
$publicPath getcwd();



$uri urldecode(

    
parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) ?? ''

);