mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Fix #65879: stream_select on STDIN returns 1 even on blocking stream
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350535 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
a9216e9b44
commit
28abaa892f
1 changed files with 5 additions and 0 deletions
|
@ -210,11 +210,16 @@ if (false === stream_select($r, $w, $e, 0)) {
|
|||
</para>
|
||||
</note>
|
||||
<note>
|
||||
<title>Windows compatibility</title>
|
||||
<para>
|
||||
Use of <function>stream_select</function> on
|
||||
file descriptors returned by <function>proc_open</function> will fail
|
||||
and return &false; under Windows.
|
||||
</para>
|
||||
<para>
|
||||
<constant>STDIN</constant> from a console changes status as soon as <emphasis>any</emphasis>
|
||||
input events are available, but reading from the stream may still block.
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
||||
|
|
Loading…
Reference in a new issue