1--TEST--
2Test inflate_init() error
3--SKIPIF--
4<?php
5if (!extension_loaded("zlib")) {
6    print "skip - ZLIB extension not loaded";
7}
8?>
9--FILE--
10<?php
11var_dump(inflate_init());
12var_dump(inflate_init(42));
13?>
14--EXPECTF--
15Warning: inflate_init() expects at least 1 parameter, 0 given in %s on line %d
16NULL
17
18Warning: inflate_init(): encoding mode must be ZLIB_ENCODING_RAW, ZLIB_ENCODING_GZIP or ZLIB_ENCODING_DEFLATE in %s on line %d
19bool(false)
20