Date: 09/12/00
- Next message: Lars Torben Wilson: "Re: [PHP-DOC] Re: [PHP-DEV] PHP 4.0 Bug #6707: Treatment of ' in htmlspecialchars() funcation"
- Previous message: Zak Greant: "Re: [PHP-DOC] Aliases for functions, and some "Official Function Naming Rules""
- Next in thread: Lars Torben Wilson: "Re: [PHP-DOC] Re: [PHP-DEV] PHP 4.0 Bug #6707: Treatment of ' in htmlspecialchars() funcation"
- Reply: Lars Torben Wilson: "Re: [PHP-DOC] Re: [PHP-DEV] PHP 4.0 Bug #6707: Treatment of ' in htmlspecialchars() funcation"
- Reply: James Moore: "RE: [PHP-DOC] Re: [PHP-DEV] PHP 4.0 Bug #6707: Treatment of ' in htmlspecialchars() funcation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
User submitted note to manual regarding this issue.
I have already addressed his concerns.
I have added a note to the manual - perhaps one of the doc team could
update the manual to contain this information?
Here is a copy of my message to him:
To be able to use the modified function, you will need to check the most
recent copy of PHP out of cvs, and then compile and install install it.
Alternately, you can wait for the next release. The developers have set no
firm date for release, however I would guess that it will be in one to
three months.
- Zak
At 09:21 AM 9/13/00 +0000, andrew <email protected> wrote:
>From: andrew <email protected>
>Operating system: Linux
>PHP version: 4.0.2
>PHP Bug Type: *Function Specific
>Bug description: Treatment of ' in htmlspecialchars() funcation
>
>Regarding htmlspecialchars() function
>
>What's going on with this function regarding the treatment of single '.
>I've tried using the optional second parameter ENT_COMPAT, and I get an
>error message saying "wrong number of parameters". This is with version 4.0.2.
>
>If you don't use the parameter, ' gets converted to #039; . This is in
>contrast to what is shown in the online documentation.
>
>I'm just using a simple function call:
> $str = htmlspecialchars($str);
>
>Regards,
>Andrew
- Next message: Lars Torben Wilson: "Re: [PHP-DOC] Re: [PHP-DEV] PHP 4.0 Bug #6707: Treatment of ' in htmlspecialchars() funcation"
- Previous message: Zak Greant: "Re: [PHP-DOC] Aliases for functions, and some "Official Function Naming Rules""
- Next in thread: Lars Torben Wilson: "Re: [PHP-DOC] Re: [PHP-DEV] PHP 4.0 Bug #6707: Treatment of ' in htmlspecialchars() funcation"
- Reply: Lars Torben Wilson: "Re: [PHP-DOC] Re: [PHP-DEV] PHP 4.0 Bug #6707: Treatment of ' in htmlspecialchars() funcation"
- Reply: James Moore: "RE: [PHP-DOC] Re: [PHP-DEV] PHP 4.0 Bug #6707: Treatment of ' in htmlspecialchars() funcation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

