PHP quoted_printable_decode() Function

Definition

The quoted_printable_decode() function decodes a quoted-printable string to an 8-bit ASCII string.

Syntax

PHP quoted_printable_decode() Function has the following syntax.

quoted_printable_decode(string)

Parameter

ParameterIs RequiredDescription
string Required. Quoted-printable string to be decoded

Return

PHP quoted_printable_decode() Function returns the 8-bit ASCII string

Example

Decode a quoted-printable string to an 8-bit ASCII string:


<?php
$str = "Hello=0Ajava2s.com.";
echo quoted_printable_decode($str);
?>

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