htmlentities
function call:
string htmlentities( string $string [, int $quote_style [, string $charset]] )
description:
This function is identical to htmlspecialchars() in all ways, except with htmlentities(), all characters which have HTML character entity equivalents are translated into these entities.
test htmlentities online:
string htmlentities( string $string [, int $quote_style [, string $charset]] )
description:
This function is identical to htmlspecialchars() in all ways, except with htmlentities(), all characters which have HTML character entity equivalents are translated into these entities.
test htmlentities online: