Online PHP Functions

Basic PHP Tools For Everyday Use

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.

Declaration

string htmlentities ( string $str [, int $quote_style ] [, string $charset ] )

Test Function