Test htmlspecialchars online

Execute htmlspecialchars with this online tool
htmlspecialchars() - Convert special characters to HTML entities
Htmlspecialchars Online Tool
Manual
Code Examples

$string =


$flags =


$encoding =


$double_encode =

PHP Version:


Function htmlspecialchars:

String Manipulation Tools