1--TEST--
2Bug #77080 (Deflate not working)
3--EXTENSIONS--
4zlib
5--FILE--
6<?php
7$string = str_repeat("0123456789", 100);
8$stream = fopen('data://text/plain,' . $string,'r');
9stream_filter_append($stream, 'zlib.deflate', STREAM_FILTER_READ, 6);
10$compressed = stream_get_contents($stream);
11var_dump(gzinflate($compressed) === $string);
12?>
13--EXPECT--
14bool(true)
15