We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce75326 commit 6d2cd7fCopy full SHA for 6d2cd7f
ext/standard/streamsfuncs.c
@@ -746,7 +746,7 @@ PHP_FUNCTION(stream_select)
746
ZEND_PARSE_PARAMETERS_END();
747
748
// Early async select path - avoid all fd_set processing
749
- if(ZEND_ASYNC_IS_ACTIVE && (sec > 0 || usec > 0)) {
+ if(ZEND_ASYNC_IS_ACTIVE && (sec > 0 || usec > 0 || (secnull && usecnull))) {
750
struct timeval tv_async, *tv_p_async = NULL;
751
if (!secnull) {
752
tv_async.tv_sec = sec;
0 commit comments