Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

PHP curl_unescape Function

PHP curl_unescape Function

PHP Calendar Reference Manual PHP cURL Reference Manual

(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 Calendar Reference Manual PHP cURL Reference Manual