Output

Pass Through

The passThrough() outputs all remaining data from the stream. PHP's fpassthru()open in new window method is used for this purpose.

$stream = FileStream::open('people.txt', 'r')
$stream->passThrough();