(PHP3 , PHP4 )
string htmlentities (string string)
string htmlentities
この関数はhtmlspecialchars()と同じですが、 HTML エンティティと等価な意味を有する文字をHTMLエンティティに変換します。
現在のところ、ISO-8859-1 文字セットが使われます。
htmlspecialchars() および nl2br()も参照下さい。