Menu Riverview Church

URLDECODE

Decodes URL-encoded string

SYNTAX

urldecode ( string $str ) : string

PARAMETERS

str

The string to be decoded.

RETURN

Returns the decoded string.

EXAMPLES

1

-_.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz

2

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

3

' '

4

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

INTERNAL

rawurldecode

rawurlencode

urlencode

EXTERNAL

PHP