(PHP 3, PHP 4) 文字列 str について、 addslashes(), htmlentities(), htmlspecialchars(), nl2br(), stripslashes() も参照下さい。