Fix incorrect parameter count for imagepng function
. Fixed bug #73807 (Performance problem with processing large post request).
(Nikita)
+- GD:
+ . Fixed bug #74031 (ReflectionFunction for imagepng is missing last two
+ parameters). (finwe)
+
- OpenSSL:
. Fixed bug #74022 (PHP Fast CGI crashes when reading from a pfx file).
(Anatol)
ZEND_BEGIN_ARG_INFO_EX(arginfo_imagepng, 0, 0, 1)
ZEND_ARG_INFO(0, im)
ZEND_ARG_INFO(0, filename)
+ ZEND_ARG_INFO(0, quality)
+ ZEND_ARG_INFO(0, filters)
ZEND_END_ARG_INFO()
#endif
--- /dev/null
+--TEST--
+(Bug #74031) ReflectionFunction for imagepng returns wrong number of parameters
+--FILE--
+<?php
+
+$ref = new ReflectionFunction('imagepng');
+var_dump(count($ref->getParameters()));
+?>
+--EXPECT--
+int(4)