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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-11 18:50 UTC] mfischer@php.net
As discussed, this won't happen.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 13:01:31 2024 UTC