PHP quoted_printable_encode() Function

Definition

The quoted_printable_encode() function converts an 8-bit string to a quoted-printable string.

Syntax

PHP quoted_printable_encode() Function has the following syntax.

quoted_printable_encode(string)

Parameter

ParameterIs Required Description
stringRequired. 8-bit string to be converted

Return

PHP quoted_printable_encode() Function returns the converted string.

Example

converts an 8-bit string to a quoted-printable string


<?PHP
echo quoted_printable_encode ("java2s.com");
?>

The code above generates the following result.





















Home »
  PHP Tutorial »
    Function reference »




PHP Array Functions
PHP Calendar Functions
PHP Class Functions
PHP Data Type Functions
PHP Date Functions
PHP File Functions
PHP Image Functions
PHP Math Functions
PHP MySQLi Functions
PHP SimpleXML Functions
PHP String Functions
PHP XML Functions
PHP Zip Functions