Php htmlspecialchars vs htmlentities July 8, 2019 16 32 64 128 Php xss htmlspecialchars vs htmlentities Htmlspecialchars in php Difference between html and php Htmlspecialchars() argument #1 ($string) must be of type string array given