1--TEST--
2Test inflate_init() error
3--EXTENSIONS--
4zlib
5--FILE--
6<?php
7
8try {
9 var_dump(inflate_init(42));
10} catch (\ValueError $e) {
11 echo $e->getMessage() . \PHP_EOL;
12}
13
14?>
15--EXPECT--
16Encoding mode must be ZLIB_ENCODING_RAW, ZLIB_ENCODING_GZIP or ZLIB_ENCODING_DEFLATE
17