Skip to content

Commit

Permalink
- Updated to PHP7.4
Browse files Browse the repository at this point in the history
- Fixed version to PHP7.4+
- Renamed some functions
  • Loading branch information
TorbenKoehn committed Jan 17, 2020
1 parent 5e387fc commit f1f4c35
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ $writer = stream_write($stream, generateLines());
$writtenBytes = $writer->writeAll();

// or use stream_write_all()
$writer = stream_write_all($stream, generateLines());
$writtenBytes = stream_write_all($stream, generateLines());

// You could also iterate the write to leave place for other actions
// e.g. in async environments
Expand All @@ -289,7 +289,6 @@ $writer = stream_pipe($inputStream, $outputStream);
$writer->writeAll();

// or use stream_pipe_all()
$writer = stream_pipe_all($inputStream, $outputStream);

$writtenBytes = stream_pipe_all($inputStream, $outputStream);
```

0 comments on commit f1f4c35

Please sign in to comment.