Menu Riverview Church

RAWURLDECODE

Decode URL-encoded strings

SYNTAX

rawurldecode ( string $str ) : string

PARAMETERS

str

The URL to be decoded.

RETURN

Returns the decoded URL, as a string.

EXAMPLES

1

-_.~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz

2

!@#$%^&*()+={[}]|\:;"'<,>?/

3

<a href="https://domain.com/path?var=decode%20non-alphanumeric">decode non-alphanumeric</a>

INTERNAL

rawurlencode

urldecode

urlencode

EXTERNAL

PHP