ID: 34380 User updated by: jim at centerfuse dot net Reported By: jim at centerfuse dot net Status: Open Bug Type: Feature/Change Request Operating System: FreeBSD PHP Version: 5.0.4 New Comment:
Just wondering if there's any word on this. I'm having trouble with the sockets module crashing my PHP daemon (bug report will come when I figure out what's going on, and after I make sure it's not my fault), and I'd like to move to streams. However, the lack of stream_last_error() is making this a bit difficult. Previous Comments: ------------------------------------------------------------------------ [2005-09-05 22:42:02] jim at centerfuse dot net Description: ------------ In order to determine if a function such as stream_select() returning false was a significant error, or just an "interrupted system call" (which can happen due to other signals interrupting the select), it'd be quite useful to have a stream_last_error() function that allows us to check the error code returned by stream_select(). ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34380&edit=1
