|
Uri\Rfc3986\Uri::getUsernameRetrieve the normalized username Description
public stringnull Uri\Rfc3986\Uri::getUsername()
Retrieves the normalized username part (the text before the first Hexadecimal triplets are converted to uppercase, percent-encoded unreserved characters are decoded, the scheme and host components are normalized to lowercase, and dot segments are removed from the path, per RFC 3986. ParametersThis function has no parameters. Return Values
Returns the normalized username as a string if the userinfo component exists, ExamplesExample #1 Uri\Rfc3986\Uri::getUsername basic example The above example will output: user See Also
|