When I use "htmlspecialchars" in this code:
<?php
$test = htmlspecialchars("<a>w3s.com</a>");
echo $test;
?>
I want see HTML entites, such as:
"><script>alert - for example.
But I see this:
<a>w3s.com</a>
And in browser HTML markup doesn't display HTML entites. Please help. Thank (Sorry if my sentense building of words building are spooky.)