|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-06-17 04:25 UTC] chris at dented-planet dot net
[2007-06-17 09:34 UTC] johannes@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 16 10:00:01 2025 UTC |
Description: ------------ 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? Reproduce code: --------------- // Output: < echo htmlentities('<', ENT_QUOTES, false); // Expected Output: < // Actual Output: &lt; echo htmlentities(htmlentities('<', ENT_QUOTES, false), ENT_QUOTES, false);