svn: /phpdoc/en/trunk/reference/simplexml/simplexmlelement/ construct.xml
| From: | Matthew Fonda | Date: | Wed, 29 Jun 2011 17:46:38 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/simplexml/simplexmlelement/ construct.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-8340@lists.php.net to get a copy of this message | ||
mfonda Wed, 29 Jun 2011 17:46:38 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=312634
Log:
Clarify that SimpleXML::__construct raises E_WARNING for errors in XML, but throws an exception if
the XML is unparsable - fixes bug #53998
Bug: http://bugs.php.net/53998 (unknown)
Changed paths:
U phpdoc/en/trunk/reference/simplexml/simplexmlelement/construct.xml
Modified: phpdoc/en/trunk/reference/simplexml/simplexmlelement/construct.xml
===================================================================
--- phpdoc/en/trunk/reference/simplexml/simplexmlelement/construct.xml 2011-06-29 17:42:36 UTC (rev
312633)
+++ phpdoc/en/trunk/reference/simplexml/simplexmlelement/construct.xml 2011-06-29 17:46:38 UTC (rev
312634)
@@ -84,7 +84,8 @@
&reftitle.errors;
<para>
Produces an <constant>E_WARNING</constant> error message for each error
- found in the XML data and throws an exception if errors were detected.
+ found in the XML data and additionally throws an exception if the XML data
+ could not be parsed.
</para>
<tip>
<para>