title: PHP - Variable, only text allowed
body: <p>I am making a website (dah), and I need to have a function. </p>
  
  <p>That function would make the string in only text.</p>
  
  <p>Like:</p>
  
  <pre><code>$string = "Hello world&lt;div width="100000"&gt;aaa&lt;/div&gt;";
  </code></pre>
  
  <p>In html, that would get very bad. I am trying to use a function to make this in text, like:</p>
  
  <pre><code>$string = function($string);
  </code></pre>
  
  <p>And that would only return solid text!</p>