Online htmlentities( ) function


string htmlentities ( string $string )
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.