Computer >> Computer tutorials >  >> Programming >> PHP

quoted_printable_decode() function in PHP


The quoted_printable_decode() is used to convert the quoted printable string to 8 bit string.

Syntax

quoted_printable_decode(str)

Parameter

  • str − The input string

Return

The quoted_printable_decode() function returns the 8-bit ASCII string.

Example

The following is an example −

<?php
   $s = "Welcome=0Aaboard!"; 
   echo quoted_printable_decode($s);
?>

Output

Welcome aboard!