[doc-en] master: stream_select: Fix explanation of the microseconds behavior (#5428)
| From: | divinity76 via GitHub | Date: | Thu, 19 Mar 2026 11:29:17 +0000 |
| Subject: | [doc-en] master: stream_select: Fix explanation of the microseconds behavior (#5428) | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-23198@lists.php.net to get a copy of this message | ||
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 <tim@bastelstu.be>
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>