This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Filter for zlib compress (RFC 1950) | |
stream_filter_append($resource, 'zlib.deflate', ['window' => 15]); | |
// Filter for deflate (RFC 1951) | |
stream_filter_append($resource, 'zlib.deflate', ['window' => -15]); | |
// Filter for gzip (RFC 1952) | |
stream_filter_append($resource, 'zlib.deflate', ['window' => 31); |