Annotation of embedaddon/php/ext/zlib/tests/zlib_filter_deflate.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: zlib.deflate (with convert.base64-encode)
        !             3: --SKIPIF--
        !             4: <?php if (!extension_loaded("zlib")) print "skip"; ?>
        !             5: --FILE--
        !             6: <?php /* $Id: zlib_filter_deflate.phpt 201145 2005-11-24 04:37:47Z pollita $ */
        !             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');
        !            10: stream_filter_append($fp, 'zlib.deflate', STREAM_FILTER_WRITE);
        !            11: stream_filter_append($fp, 'convert.base64-encode', STREAM_FILTER_WRITE);
        !            12: fwrite($fp, $text);
        !            13: fclose($fp);
        !            14: 
        !            15: ?> 
        !            16: --EXPECT-- 
        !            17: HctBDoAgDETRq8zOjfEeHKOGATG0TRpC4u1Vdn/xX4IoxkVMxgP1zA4vkJVhULk9UGkM6TvSNolmxUNlNLePVQ45O3eINf0fsQxtCxwv

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>