1--TEST--
2bzip2.decompress (with convert.base64-decode)
3--SKIPIF--
4<?php if (!extension_loaded("bz2")) print "skip"; ?>
5--FILE--
6<?php
7$text = 'QlpoNDFBWSZTWRN6QG0AAAoVgECFACA395UgIABIintI1N6mpowIQ0E1MTTAQGYTNcRyMZm5kgW3ib7hVboE7Tmqj3ToGZ5G3q1ZauD2G58hibSck8KS95EEAbx1Cn+LuSKcKEgJvSA2gA==';
8
9$fp = fopen('php://stdout', 'w');
10stream_filter_append($fp, 'convert.base64-decode', STREAM_FILTER_WRITE);
11stream_filter_append($fp, 'bzip2.decompress', STREAM_FILTER_WRITE);
12fwrite($fp, $text);
13fclose($fp);
14
15?>
16--EXPECT--
17I am the very model of a modern major general, I've information vegetable, animal, and mineral.
18