For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > November 2004 > Re: [PHP-DOC] Typo in htmlspecialchars









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-DOC] Typo in htmlspecialchars
Friedhelm Betz

2004-11-27, 9:02 pm

Hi Ted,

> http://www.php.net/manual/en/functi...pecialchars.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/


Please report bugs at bugs.php.net. This will help to keep track of this
issue.
Thanks in advance
Regards Friedhelm
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com