1--TEST-- 2Bug #73944: Dictionary option of intflate_init() does not work 3--FILE-- 4<?php 5 6$in = inflate_init(ZLIB_ENCODING_RAW, array('dictionary' => str_repeat("\00", 32768))); 7$a = inflate_add($in, file_get_contents(__DIR__.'/bug73944_fixture1')); 8echo '1 block: '.strlen($a).PHP_EOL; 9 10$in = inflate_init(ZLIB_ENCODING_RAW, array('dictionary' => $a)); 11$b = inflate_add($in, file_get_contents(__DIR__.'/bug73944_fixture2')); 12echo '2 block: '.($b === false ? 'failed' : strlen($b)).PHP_EOL; 13 14?> 15--EXPECTF-- 161 block: 32768 172 block: 32768 18