Menu Samaritan's Purse

CURL_UNESCAPE

Decodes the given URL encoded string

SYNTAX

curl_unescape ( resource $ch , string $str ) : string

PARAMETERS

ch

A cURL handle returned by curl_init().

str

The URL encoded string to be decoded.

RETURN

Returns decoded string or FALSE on failure.

EXAMPLES

Hofbräuhaus / München
Hofbr%C3%A4uhaus%20%2F%20M%C3%BCnchen
https://www.php.net?location=Hofbr%C3%A4uhaus%20%2F%20M%C3%BCnchen
https://www.php.net?location=Hofbräuhaus / München

PHP