Bug #74031 [Opn->Csd]: ReflectionFunction for imagepng is missing last two parameters
| From: | nikic@php.net | Date: | Thu, 02 Feb 2017 17:15:50 +0000 |
| Subject: | Bug #74031 [Opn->Csd]: ReflectionFunction for imagepng is missing last two parameters | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-207130@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=74031&edit=1
ID: 74031
Updated by: nikic@php.net
Reported by: finwe at finwe dot info
Summary: ReflectionFunction for imagepng is missing last two
parameters
-Status: Open
+Status: Closed
Type: Bug
Package: Reflection related
Operating System: Unix (Ubuntu 16.04)
PHP Version: 7.1.1
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of finwe@finwe.info
Revision: http://git.php.net/?p=php-src.git;a=commit;h=acda2563cea2acacdb126a6c14a144a9bf52e3a3
Log: Fix bug #74031
Previous Comments:
------------------------------------------------------------------------
[2017-02-02 09:16:34] finwe at finwe dot info
Description:
------------
ReflectionFunction for imagepng is missing last two parameters available since PHP 5.1.2 and 5.1.3
respectively, quality and filters.
PHP Version 7.1.1
GD library Version 2.2.3
Test script:
---------------
$ref = new ReflectionFunction('imagepng');
var_dump(count($ref->getParameters()));
Expected result:
----------------
int(4)
Actual result:
--------------
int(2)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=74031&edit=1