w3resource

PHP: quoted_ printable_ decode() function

PHP: Convert a quoted-printable string to an 8 bit string

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



Become a Patron!

Follow us on Facebook and Twitter for latest update.

It will be nice if you may share this link in any developer community or anywhere else, from where other developers may find this content. Thanks.

https://w3resource.com/php/function-reference/quoted_printable_decode.php