1--TEST-- 2Bug #75299 Wrong reflection on inflate_init and inflate_add 3--SKIPIF-- 4<?php if (!extension_loaded("zlib")) die("skip"); ?> 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