svn: /phpdoc/en/trunk/reference/datetime/dateinterval/ construct.xml
| From: | Peter Cowburn | Date: | Sat, 27 Apr 2013 10:51:41 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/datetime/dateinterval/ construct.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-11218@lists.php.net to get a copy of this message | ||
salathe Sat, 27 Apr 2013 10:51:41 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=330157
Log:
exception info for dateinterval::__construct() (doc #63906)
Bug: https://bugs.php.net/63906 (Re-Opened)
DateInterval::__construct throws undocumented Exception
Changed paths:
U phpdoc/en/trunk/reference/datetime/dateinterval/construct.xml
Modified: phpdoc/en/trunk/reference/datetime/dateinterval/construct.xml
===================================================================
--- phpdoc/en/trunk/reference/datetime/dateinterval/construct.xml 2013-04-27 10:51:28 UTC (rev
330156)
+++ phpdoc/en/trunk/reference/datetime/dateinterval/construct.xml 2013-04-27 10:51:41 UTC (rev
330157)
@@ -120,6 +120,14 @@
</para>
</refsect1>
+ <refsect1 role="errors">
+ &reftitle.errors;
+ <para>
+ Throws an <classname>Exception</classname> when the
<parameter>interval_spec</parameter>
+ cannot be parsed as an interval.
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>