quoted_printable_encode() function in PHP


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

Syntax

quoted_printable_encode(str)

Parameters

  • str − It specifies the 8-bit string to be converted.

Return

The quoted_printable_encode() function returns the converted string.

Example

The following is an example −

 Live Demo

<?php
   echo quoted_printable_encode("www.example.com")
?>

Output

The following is the output −

www.example.com

karthikeya Boyini
karthikeya Boyini

I love programming (: That's all I know

Updated on: 26-Dec-2019

27 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements