1--TEST--
2Read from non-blocking stdio stream should not error
3--FILE--
4<?php
5
6stream_set_blocking(STDIN, false);
7var_dump(fread(STDIN, 1));
8
9?>
10--EXPECT--
11string(0) ""
12