[DOC-CVS] [doc-en] master: stream_select: Fix explanation of the microseconds behavior (#5428)
[email protected] (divinity76 via GitHub) Thu, 19 Mar 2026 11:29:17 +0000
| Newsgroups | php.doc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: divinity76 (divinity76) Committer: GitHub (web-flow) Pusher: TimWolla Date: 2026-03-19T12:29:15+01:00 Commit: https://github.com/php/doc-en/commit/a758e79c3bf173203550cb78ef07509cf859b212 Raw diff: https://github.com/php/doc-en/commit/a758e79c3bf173203550cb78ef07509cf859b212.diff stream_select: Fix explanation of the microseconds behavior (#5428) Co-authored-by: Tim Düsterhus <[email protected]> Changed paths: M reference/stream/functions/stream-select.xml Diff: diff --git a/reference/stream/functions/stream-select.xml b/reference/stream/functions/stream-select.xml index fde9da1739f0..ebdac059c391 100644 --- a/reference/stream/functions/stream-select.xml +++ b/reference/stream/functions/stream-select.xml @@ -76,10 +76,10 @@ <parameter>microseconds</parameter> the number of microseconds. The <parameter>timeout</parameter> is an upper bound on the amount of time that <function>stream_select</function> will wait before it returns. - If <parameter>seconds</parameter> and <parameter>microseconds</parameter> are - both set to <literal>0</literal>, <function>stream_select</function> will - not wait for data - instead it will return immediately, indicating the - current status of the streams. + If <parameter>seconds</parameter> is set to <literal>0</literal> and + <parameter>microseconds</parameter> is <literal>0</literal> or &null;, + <function>stream_select</function> will not wait for data - instead it will return immediately, + indicating the current status of the streams. </para> <para> If <parameter>seconds</parameter> is &null; <function>stream_select</function>