Req #34380 [Opn->Csd]: need stream equivalent to socket_last_error
| From: | bukka@php.net | Date: | Sun, 04 Oct 2026 15:51:29 +0000 |
| Subject: | Req #34380 [Opn->Csd]: need stream equivalent to socket_last_error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-252901@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=34380&edit=1
ID: 34380
Updated by: bukka@php.net
Reported by: jim at centerfuse dot net
Summary: need stream equivalent to socket_last_error
-Status: Open
+Status: Closed
Type: Feature/Change Request
Package: Streams related
Operating System: FreeBSD
PHP Version: 5.0.4
-Assigned To:
+Assigned To: bukka
Block user comment: N
Private report: N
New Comment:
Addressed by https://wiki.php.net/rfc/stream_errors in PHP 8.6
Previous Comments:
------------------------------------------------------------------------
[2023-05-08 16:59:56] bukka@php.net
Related to https://bugs.php.net/bug.php?id=64803
------------------------------------------------------------------------
[2023-05-03 11:39:33] deepkbtayyab at gmail dot com
Travel Insider Blog are sharing latest news portal about travel, destination, beaches, tourist
places, travel spot, travel insider etc. More info to visit:
(https://travelinsiderblog.com)github.com
------------------------------------------------------------------------
[2021-07-27 13:45:34] cmb@php.net
Related To: Bug #63793
------------------------------------------------------------------------
[2014-09-23 20:45:21] ezacks at barracuda dot com
Potential solution here for stream_select and stream_socketpair:
https://github.com/php/php-src/pull/838
This change preserves errno in posix_globals, allowing posix_get_last_error() to reflect the failure
reason.
------------------------------------------------------------------------
[2012-06-06 13:10:54] fxbois at gmail dot com
Is there any chance that this request (/bug ?) will be solved. I confirm that it is impossible to
write a daemon mixing socker/stream and signals.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=34380
--
Edit this bug report at https://bugs.php.net/bug.php?id=34380&edit=1