New htmlentities() '$double_enocde' Param Question

From: Date: Sun, 17 Jun 2007 13:13:12 +0000
Subject: New htmlentities() '$double_enocde' Param Question
Groups: php.general 
Request: Send a blank email to php-general+get-257211@lists.php.net to get a copy of this message
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: &lt; echo htmlentities('<', ENT_QUOTES, false); // Expected Output: &lt; // Actual Output: &amp;lt; echo htmlentities(htmlentities('<', ENT_QUOTES, false), ENT_QUOTES, false); Thanks, Chris

« previous php.general (#257211) next »