Hyvor Developer
  Home   Download   Copy
Code
<?php
$string = '<script>alert("Hello")</script>';
echo htmlspecialchars($string);
Result