Typo in htmlspecialchars
| From: | Ted Stresen-Reuter | Date: | Sat, 27 Nov 2004 19:58:54 +0000 |
| Subject: | Typo in htmlspecialchars | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969365269@lists.php.net to get a copy of this message | ||
http://www.php.net/manual/en/function.htmlspecialchars.php
Bullet two, which currently reads:
'"' (double quote) becomes '"' when ENT_NOQUOTES is not set.
should probably read:
'"' (double quote) becomes '"' when ENT_COMPAT (the default) or ENT_QUOTES is set.
or maybe (but leaves room for confusion):
'"' (double quote) becomes '"' when anything other than ENT_NOQUOTES is set.
The paragraph preceding the bullets states:
if ENT_NOQUOTES is set neither single nor double quotes are translated
Ted Stresen-Reuter
http://www.tedmasterweb.com/