Home > PHP > Function > OAuth > oauth_urlencode()

oauth_urlencode()

oauth_urlencode - Encode a URI to RFC 3986

Syntax

string oauth_urlencode (string $uri)

Arguments

  • uri - URI to encode.

Description

Encodes a URI to » RFC 3986.

Version

PHP PECL OAuth >=0.99.2

Return value

Returns an » RFC 3986encoded string.