mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Fix #77662: htmlspecialchars does not behave as documented regarding ambiguous $flags
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346899 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
e123b98532
commit
b3e378b59c
1 changed files with 2 additions and 2 deletions
|
@ -295,7 +295,7 @@ echo $new; // <a href='test'>Test</a>
|
|||
<listitem>
|
||||
<simpara>
|
||||
When neither of <constant>ENT_COMPAT</constant>, <constant>ENT_QUOTES</constant>,
|
||||
<constant>ENT_NOQUOTES</constant> is present, the default is <constant>ENT_COMPAT</constant>.
|
||||
<constant>ENT_NOQUOTES</constant> is present, the default is <constant>ENT_NOQUOTES</constant>.
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
@ -317,7 +317,7 @@ echo $new; // <a href='test'>Test</a>
|
|||
When more than one of <constant>ENT_HTML401</constant>, <constant>ENT_HTML5</constant>,
|
||||
<constant>ENT_XHTML</constant>, <constant>ENT_XML1</constant> is present,
|
||||
<constant>ENT_HTML5</constant> takes the highest precedence,
|
||||
followed by <constant>ENT_XHTML</constant>, <constant>ENT_HTML401</constant>.
|
||||
followed by <constant>ENT_XHTML</constant>, <constant>ENT_XML1</constant> and <constant>ENT_HTML401</constant>.
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
|
Loading…
Reference in a new issue