1--TEST--
2zlib.deflate (with level parameter set)
3--SKIPIF--
4<?php if (!extension_loaded("zlib")) print "skip"; ?>
5--FILE--
6<?php
7$text = 'I am the very model of a modern major general, I\'ve information vegetable, animal, and mineral.';
8
9$fp = fopen('php://stdout', 'w');
10stream_filter_append($fp, 'zlib.deflate', STREAM_FILTER_WRITE, array('level' => 9));
11fwrite($fp, $text);
12fclose($fp);
13
14?>
15--EXPECT--
16�A� Dѫ�΍���1�MB��Uv�_�(�EL���/��aP�=Pi�;�6�f�Ce4��U9;w�5��m/
17