Stream Context Option on Windows

A new stream context option was introduced in PHP 7 that only works on Windows. It allows for blocking reads on pipes:

$options = [
    'pipe' => ['blocking' => true]
];

$context = stream_context_create($options);

// ...