src/includes/classes/Core/Utils/UrlCurrent.php
public function pathInfo(): string
    {
        if (($path_info = &$this->cacheKey(__FUNCTION__)) !== null) {
            return $path_info; // Cached this already.
        }
        $path_info = ''; // Initialize.

        if (isset($_SERVER['PATH_INFO'])) {
            $path_info = $_SERVER['PATH_INFO'];
        }
        if (mb_strpos($path_info, '?') !== false) {
            list($path_info) = explode('?', $path_info, 2);
        }
        $path_info        = $this->c::mbTrim($path_info, '/');
        return $path_info = str_replace('%', '%25', $path_info);
    }
public function pathInfo(): string
    {
        if (($path_info = &$this->cacheKey(__FUNCTION__)) !== null) {
            return $path_info; // Cached this already.
        }
        $path_info = ''; // Initialize.

        if (isset($_SERVER['PATH_INFO'])) {
            $path_info = $_SERVER['PATH_INFO'];
        }
        if (mb_strpos($path_info, '?') !== false) {
            list($path_info) = explode('?', $path_info, 2);
        }
        $path_info        = $this->c::mbTrim($path_info, '/');
        return $path_info = str_replace('%', '%25', $path_info);
    }
Current `index.php/path/info`.

@since 150424 Initial release.

@return string e.g., `index.php/path/info`.