Re: [PHP] New htmlentities() '$double_enocde' Param Question

2007-06-19 Thread Greg Donald
On 6/17/07, Chris <[EMAIL PROTECTED]> wrote: I just need a clarification about the new "$double_encode" param for htmlentities() and htmlspecialchars(). Is it supposed to do as I expect it to do in the code below or am I misuderstanding its use? // Output: < echo htmlentities('<', ENT_QUOTES, f

[PHP] New htmlentities() '$double_enocde' Param Question

2007-06-17 Thread Chris
I just need a clarification about the new "$double_encode" param for htmlentities() and htmlspecialchars(). Is it supposed to do as I expect it to do in the code below or am I misuderstanding its use? // Output: < echo htmlentities('<', ENT_QUOTES, false); // Expected Output: < // Actual O