svn: /phpdoc/en/trunk/reference/errorfunc/functions/ trigger-error.xml
| From: | Christopher Jones | Date: | Fri, 20 Nov 2009 20:28:06 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/errorfunc/functions/ trigger-error.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-5523@lists.php.net to get a copy of this message | ||
sixd Fri, 20 Nov 2009 20:28:06 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=291098
Log:
Add warning based on #php.doc discussion
Changed paths:
U phpdoc/en/trunk/reference/errorfunc/functions/trigger-error.xml
Modified: phpdoc/en/trunk/reference/errorfunc/functions/trigger-error.xml
===================================================================
--- phpdoc/en/trunk/reference/errorfunc/functions/trigger-error.xml 2009-11-20 20:06:23 UTC (rev
291097)
+++ phpdoc/en/trunk/reference/errorfunc/functions/trigger-error.xml 2009-11-20 20:28:06 UTC (rev
291098)
@@ -81,6 +81,17 @@
</para>
</refsect1>
+ <refsect1 role="notes">
+ &reftitle.notes;
+ <warning>
+ <para>
+ HTML entities in <parameter>error_msg</parameter> are not
+ escaped. Use <function>htmlentities</function> on the message if
+ the error is to be displayed in a browser.
+ </para>
+ </warning>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>