php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17022 enhance socket_strerror(errno) to make errno optional
Submitted: 2002-05-05 17:23 UTC Modified: 2002-05-11 18:50 UTC
From: trobinson at gksystems dot com Assigned:
Status: Closed Package: Sockets related
PHP Version: 4.2.0 OS: any
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: trobinson at gksystems dot com
New email:
PHP Version: OS:

 

 [2002-05-05 17:23 UTC] trobinson at gksystems dot 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-11 18:50 UTC] mfischer@php.net
As discussed, this won't happen.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue May 24 11:05:45 2022 UTC