Tiny cleanups.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@32718 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Torben Wilson 2000-09-15 03:26:47 +00:00
parent cd971dcd12
commit 94122f5dfa

View file

@ -757,12 +757,14 @@ $original = strtr ($str, $trans);
This function is identical to
<function>htmlspecialchars</function> in all ways, except that
all characters which have HTML character entity equivalents are
translated into these entities. Like htmlspecialchars(), it takes an
optional second argument which indicates what should be done with
single and double quotes. ENT_COMPAT (the default) will only convert
double-quotes and leave single-quotes alone. ENT_QUOTES will convert
both double and single quotes, and ENT_NOQUOTES will leave both double
and single quotes unconverted.
translated into these entities. Like
<function>htmlspecialchars</function>, it takes an optional
second argument which indicates what should be done with single
and double quotes. <constant>ENT_COMPAT</constant> (the default)
will only convert double-quotes and leave single-quotes alone.
<constant>ENT_QUOTES</constant> will convert both double and
single quotes, and <constant>ENT_NOQUOTES</constant> will leave
both double and single quotes unconverted.
</para>
<para>
At present, the ISO-8859-1 character set is used. Note that the optional