w3resource

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:

<?php
$input_string = "Good=0AMorning.";
echo quoted_printable_decode($input_string);
?>

Output:

Good Morning.

View the example in the browser

See also

PHP Function Reference

Previous: printf
Next: quotemeta



Follow us on Facebook and Twitter for latest update.