← All docs

curl_unescape()

Decodes the given URL-encoded string.

curl_unescape()

function curl_unescape(CurlHandle $handle, string $string): string

Decodes the given URL-encoded string.

Parameters:

  • $handle (CurlHandle)
  • $string (string)

Returns: string

Availability

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how curl_unescape is implemented in the compiler, see the internals page.