Bug #17022 Updated: enhance socket_strerror(errno) to make errno optional
| From: | mfischer@php.net | Date: | Sat, 11 May 2002 22:50:58 +0000 |
| Subject: | Bug #17022 Updated: enhance socket_strerror(errno) to make errno optional | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-7459@lists.php.net to get a copy of this message | ||
ID: 17022
Updated by: mfischer@php.net
Reported By: trobinson@gksystems.com
-Status: Open
+Status: Closed
Bug Type: Sockets related
Operating System: any
PHP Version: 4.2.0
New Comment:
As discussed, this won't happen.
Previous Comments:
------------------------------------------------------------------------
[2002-05-05 17:23:23] trobinson@gksystems.com
socket_last_error(socket) was recently enhanced to make the socket
optional.
How about doing the same for the error number argument to
socket_strerror() ?
So instead of writing:
die (socket_strerror(socket_last_error())
I can just write:
die (socket_strerror())
...Tom Robinson
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17022&edit=1