svn: /phpdoc/en/trunk/reference/strings/functions/ htmlentities.xml htmlspecialchars.xml
| From: | Gustavo André dos Santos Lopes | Date: | Tue, 13 Mar 2012 14:39:01 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/strings/functions/ htmlentities.xml htmlspecialchars.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-9873@lists.php.net to get a copy of this message | ||
cataphract Tue, 13 Mar 2012 14:39:01 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=324188
Log:
- Improved documentation of ENT_DISALLOWED.
Changed paths:
U phpdoc/en/trunk/reference/strings/functions/htmlentities.xml
U phpdoc/en/trunk/reference/strings/functions/htmlspecialchars.xml
Modified: phpdoc/en/trunk/reference/strings/functions/htmlentities.xml
===================================================================
--- phpdoc/en/trunk/reference/strings/functions/htmlentities.xml 2012-03-13 13:19:33 UTC (rev
324187)
+++ phpdoc/en/trunk/reference/strings/functions/htmlentities.xml 2012-03-13 14:39:01 UTC (rev
324188)
@@ -78,8 +78,11 @@
<row>
<entry><constant>ENT_SUBSTITUTE</constant></entry>
<entry>
- Replace invalid code unit sequences with a Unicode Replacement Character
- U+FFFD (UTF-8) or &#FFFD; (otherwise) instead of returning an empty string.
+ Replace invalid code points for the given document type with a
+ Unicode Replacement Character U+FFFD (UTF-8) or &#FFFD;
+ (otherwise) instead of returning an empty string. This may be
+ useful, for instance, to ensure the well-formedness of XML documents
+ with embedded external content.
</entry>
</row>
<row>
Modified: phpdoc/en/trunk/reference/strings/functions/htmlspecialchars.xml
===================================================================
--- phpdoc/en/trunk/reference/strings/functions/htmlspecialchars.xml 2012-03-13 13:19:33 UTC (rev
324187)
+++ phpdoc/en/trunk/reference/strings/functions/htmlspecialchars.xml 2012-03-13 14:39:01 UTC (rev
324188)
@@ -122,8 +122,10 @@
<row>
<entry><constant>ENT_DISALLOWED</constant></entry>
<entry>
- Replace code unit sequences, which are invalid in the specified document type,
- with a Unicode Replacement Character U+FFFD (UTF-8) or &#FFFD; (otherwise).
+ Replace invalid code points for the given document type with a
+ Unicode Replacement Character U+FFFD (UTF-8) or &#FFFD;
+ (otherwise) instead of returning an empty string. This may be
+ useful, for instance, to ensure the well-formedness of XML documents with
embedded external content.
</entry>
</row>
<row>