Why stream_set_blocking not works on windows..?
here some code that used stream_set_blocking
php -r "stream_set_blocking(STDIN, FALSE);echo fread(STDIN, 10);"
on linux it instantly exits. (correct behavior)
on windows it will hang for input. (incorrect behavior, it's ignoring the non blocking setting.)