file_get_contents equivalent for gzipped files
file, gzip, php
Solution
This is way easier using stream wrappers
file_get_contents('compress.zlib://'.$file);
https://stackoverflow.com/a/8582042/1235815
Problem
What would be equivalent function to `file_get_contents`, which reads the whole content of a text file written using `gzwrite` function?