1--TEST--
2zlib.inflate (with convert.base64-decode)
3--SKIPIF--
4<?php if (!extension_loaded("zlib")) print "skip"; ?>
5--FILE--
6<?php /* $Id$ */
7$text = 'HctBDoAgDETRq8zOjfEeHKOGATG0TRpC4u1Vdn/xX4IoxkVMxgP1zA4vkJVhULk9UGkM6TvSNolmxUNlNLePVQ45O3eINf0fsQxtCxwv';
8
9$fp = fopen('php://stdout', 'w');
10stream_filter_append($fp, 'convert.base64-decode', STREAM_FILTER_WRITE);
11stream_filter_append($fp, 'zlib.inflate', 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