<?php $test = "<b> TEST </b>"; $test = htmlspecialchars($test);echo htmlspecialchars($test);
Standard input is empty
&lt;b&gt; TEST &lt;/b&gt;
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!