cvs: phpdoc /en/reference/datetime/functions date-parse.xml
| From: | Felipe Pena | Date: | Sun, 09 Dec 2007 00:23:22 +0000 |
| Subject: | cvs: phpdoc /en/reference/datetime/functions date-parse.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-580@lists.php.net to get a copy of this message | ||
felipe Sun Dec 9 00:23:22 2007 UTC
Modified files:
/phpdoc/en/reference/datetime/functions date-parse.xml
Log:
Added information about return value in case the date format has an error (#42640)
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/datetime/functions/date-parse.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc/en/reference/datetime/functions/date-parse.xml
diff -u phpdoc/en/reference/datetime/functions/date-parse.xml:1.2
phpdoc/en/reference/datetime/functions/date-parse.xml:1.3
--- phpdoc/en/reference/datetime/functions/date-parse.xml:1.2 Wed Jun 20 22:24:18 2007
+++ phpdoc/en/reference/datetime/functions/date-parse.xml Sun Dec 9 00:23:22 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry xml:id="function.date-parse" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>date_parse</refname>
@@ -32,10 +32,19 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Returns array on success or &false; on failure.
+ Returns <type>array</type> with information about the parsed date
+ on success, or &false; on failure.
</para>
</refsect1>
+ <refsect1 role="errors">
+ &reftitle.errors;
+ <para>
+ In case the date format has an error, the element 'errors' will
+ contains the error messages.
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>