Hello everyone-
While looking at a project I was considering to use, I found that the README mentioned a bug for http://php.net/stream_set_blocking . The bug only talks about the Windows version of PHP, where the switching appearantly does not work Turns out I got the same result. The code that produced following output is here: https://bugs.php.net/bug.php?id=47918
5.5.14 Darwin cli
INI:/etc/php.ini
Array
(
[stream_type] => STDIO
[mode] => r
[unread_bytes] => 0
[seekable] =>
[timed_out] =>
[blocked] => 1
[eof] =>
)
Successfully to set blocking mode to non-blocking
Array
(
[stream_type] => STDIO
[mode] => r
[unread_bytes] => 0
[seekable] =>
[timed_out] =>
[blocked] => 1
[eof] =>
)
Why is the mode not changing?
Kind regards, Ingwie