title: Print HTML tags in PHP output
body: <p>I have HTML tags present inside php variable. I want to print the values as it is. Here is what i tried.</p>
  
  <pre><code>$str = "A 'quote' is &lt;b&gt;bold&lt;/b&gt;";
  
  echo htmlentities($str);
  // Outputs: A 'quote' is &amp;lt;b&amp;gt;bold&amp;lt;/b&amp;gt;
  
  echo $str; //out puts as follows
  </code></pre>
  
  <p>A 'quote' is <b>bold</b></p>
  
  <p>But i want to print it as</p>
  
  <pre><code> A 'quote' is &lt;b&gt;bold&lt;/b&gt;
  </code></pre>
  
  <p>Also, Is there any setting can be done at the TOP of the php page, so that i dont need to use it in every php variables ?</p>