[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/sockets/functions/_socket-last-error.xml?=
From:       Christoph_Michael_Becker <cmb () php ! net>
Date:       2016-05-30 15:14:59
Message-ID: svn-cmb-1464621299-339244-148245726 () svn ! php ! net
[Download RAW message or body]

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">



-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic