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 −

Live Demo

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

Output

Welcome aboard!

Updated on: 30-Jul-2019

39 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements