1--TEST-- 2Test compress.zlib:// scheme with the file_get_contents 3--EXTENSIONS-- 4zlib 5--FILE-- 6<?php 7$outputFileName = __FILE__.'tmp'; 8$outFile = "compress.zlib://$outputFileName"; 9$data = <<<EOT 10Here is some plain 11text to be read 12and displayed. 13EOT; 14 15file_put_contents($outFile, $data); 16$h = gzopen($outputFileName, 'r'); 17gzpassthru($h); 18gzclose($h); 19echo "\n"; 20unlink($outputFileName); 21?> 22--EXPECT-- 23Here is some plain 24text to be read 25and displayed. 26