PHP quoted_printable_encode() Function


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

Syntax
quoted_printable_encode(string)
Parameters
  • string - (Required) Specify the quoted-printable string to be Converted.
Example
<?php  
    $a = 'Héllo Guys! Welcome to My Home.';   
    echo (quoted_printable_encode($a));   
?>

Output

H=C3=A9llo Guys! Welcome to My Home.

Prev Next