You are viewing documentation for an outdated version. It is no longer supported!
Output
Pass Through
The passThrough()
outputs all remaining data from the stream. PHP's fpassthru()
method is used for this purpose.
$stream = FileStream::open('people.txt', 'r')
$stream->passThrough();