PHP curl_unescape Function
(PHP 5 >= 5.5.0)
curl_unescape — Decode a URL-encoded string.
Description
string curl_unescape ( resource $ch , string $str )
Decodes a URL-encoded string.
Note: curl_unescape() does not decode a plus sign (+) to a space; urldecode() does.
Parameters
ch
A cURL handle returned by curl_init().
str
The URL-encoded string
Return Value
Returns the decoded string, or FALSE on failure.
Example
PHP cURL Reference Manual