PHP quoted printable decode

Education is not limited to just classrooms. It can be gained anytime, anywhere... - Ravi Ranjan (M.Tech-NIT)

PHP : quoted_ printable_ decode() function

Description

The quoted_printable_decode() function is used to convert a quoted-printable string to an 8-bit string.

Version

(PHP 4 and above)

Syntax

quoted_printable_decode(input_string)

Parameter

Name

Description

Required /
Optional

Type

input_string

The input string.

Required

String

Return value

Returns the 8-bit binary string.

Value Type : String.

Pictorial Presentation

php-string-quoted_printable_decode()

Example :

  1. $input_string = "Good=0AMorning.";  

  2. echo quoted_printable_decode($input_string);  

  3. ?>  

Output :

Good Morning.