title: PHP - Removing the effect of HTML tags in string - BUT displaying them as well?
body: <p>Consider <code>strip_tags()</code> .</p>
  
  <pre><code>strip_tags("&lt;b&gt;TEXT&lt;/b&gt;");
  </code></pre>
  
  <p>Output:</p>
  
  <blockquote>
    <p><strong>TEXT</strong></p>
  </blockquote>
  
  <p>But what if i want to nullify the effect of the tags but display them as well?</p>
  
  <p>Output:</p>
  
  <blockquote>
    <p>&lt;b&gt;TEXT&lt;/b&gt;</p>
  </blockquote>
  
  <p>Would i have to use <code>preg_replace()</code> ? Or is there a more elegant solution available?</p>
  
  <p>Thanks :D</p>