diff options
-rw-r--r-- | ext/sockets/sockets.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c index c4a9319595..239d4c5ddf 100644 --- a/ext/sockets/sockets.c +++ b/ext/sockets/sockets.c @@ -1943,8 +1943,8 @@ PHP_FUNCTION(socket_shutdown) } /* }}} */ -/* {{{ proto int socket_last_error(resource socket) - Returns the last error on the socket */ +/* {{{ proto int socket_last_error([resource socket]) + Returns the last socket error (either the last used or the provided socket resource) */ PHP_FUNCTION(socket_last_error) { zval *arg1 = NULL; |