PHP quoted_printable_decode() Function

PHP quoted_printable_decode() Function

The quote_printable_decode() function of PHP converts a quoted-printable string to an 8 bit string.

It works similar to imap_qprint(), except this one does not require the IMAP module to work.

Syntax

quoted_printable_decode ( string $str )

Parameter

str(required)- This parameter represents the input string.

Return

This function returns an 8-bit binary string corresponding to the decoded quoted printable string

Example 1

 

Output

The actual string: Tutorial=0AAnd=0AExample
After the quoted_printable_decode() function...
String: Tutorial
And
Example 

Example 2

 

Output

HelloWorld! 

Example 3

 

Output

Hello
World!