标签: php
为什么stream_set_blocking无法在Windows上运行..?
这里有一些使用stream_set_blocking
php -r "stream_set_blocking(STDIN, FALSE);echo fread(STDIN, 10);"
它将挂起输入。 (不正确的行为,它忽略了非阻塞设置。)