svn: /phpdoc/en/trunk/reference/sockets/functions/ socket-last-error.xml
| From: | Christoph Michael Becker | Date: | Mon, 30 May 2016 15:14:59 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/sockets/functions/ socket-last-error.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-14156@lists.php.net to get a copy of this message | ||
cmb Mon, 30 May 2016 15:14:59 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=339244
Log:
clarify return value in case of no error
Changed paths:
U phpdoc/en/trunk/reference/sockets/functions/socket-last-error.xml
Modified: phpdoc/en/trunk/reference/sockets/functions/socket-last-error.xml
===================================================================
--- phpdoc/en/trunk/reference/sockets/functions/socket-last-error.xml 2016-05-30 14:14:20 UTC (rev
339243)
+++ phpdoc/en/trunk/reference/sockets/functions/socket-last-error.xml 2016-05-30 15:14:59 UTC (rev
339244)
@@ -23,6 +23,10 @@
be fed to <function>socket_strerror</function> which returns a string
describing the given error code.
</para>
+ <para>
+ If no error had occurred, or the error had been cleared with
+ <function>socket_clear_error</function>, the function returns
<literal>0</literal>.
+ </para>
</refsect1>
<refsect1 role="parameters">