htmlspecialchars

PHP 4, PHP 5, PHP 7, PHP 8
htmlspecialchars - Convert special characters to HTML entities

Example #1 htmlspecialchars example

PHP Version:


Example #2 of htmlspecialchars

PHP Version:


Function htmlspecialchars:

Strings Functions

Most used PHP functions