xref: /PHP-8.2/ext/zlib/tests/bug75299.phpt (revision 74859783)
1--TEST--
2Bug #75299 Wrong reflection on inflate_init and inflate_add
3--EXTENSIONS--
4zlib
5--FILE--
6<?php
7$r = new ReflectionFunction('inflate_init');
8var_dump($r->getNumberOfRequiredParameters());
9var_dump($r->getNumberOfParameters());
10$r = new ReflectionFunction('inflate_add');
11var_dump($r->getNumberOfRequiredParameters());
12var_dump($r->getNumberOfParameters());
13?>
14--EXPECT--
15int(1)
16int(2)
17int(2)
18int(3)
19