When I try to execute cli.php, It fails with the following message: Failed to disable stdin blocking. It appears that the function stream_set_blocking is not working with php://stdin on Windows.
I've been looking for a workaround on the Internet, with no luck.
Added a workaround for issue #41 (stream_set_blocking not working wit…
…h php://stdin on Windows)
Thanks for spotting this. You're right, stream_set_blocking doesn't work at all in Windows.
There's a fix in the test branch:
Confirming the workaround is fixing the issue. Closing