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 60d453d commit b805d3fCopy full SHA for b805d3f
1 file changed
README.md
@@ -833,6 +833,12 @@ mean it reached EOF.
833
$stream = new ReadableResourceStream(STDIN, $loop, 8192);
834
```
835
836
+> PHP bug warning: If the PHP process has explicitly been started without a
837
+ `STDIN` stream, then trying to read from `STDIN` may return data from
838
+ another stream resource. This does not happen if you start this with an empty
839
+ stream like `php test.php < /dev/null` instead of `php test.php <&-`.
840
+ See [#81](https://github.com/reactphp/stream/issues/81) for more details.
841
+
842
### WritableResourceStream
843
844
The `WritableResourceStream` is a concrete implementation of the
0 commit comments