|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74031 ReflectionFunction for imagepng is missing last two parameters
Submitted: 2017-02-02 09:16 UTC Modified: -
From: finwe at finwe dot info Assigned:
Status: Closed Package: Reflection related
PHP Version: 7.1.1 OS: Unix (Ubuntu 16.04)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: finwe at finwe dot info
New email:
PHP Version: OS:


 [2017-02-02 09:16 UTC] finwe at finwe dot info
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'); 

Expected result:

Actual result:


imagepng-reflection-parameters (last revision 2017-02-02 09:17 UTC by finwe at finwe dot info)

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-02-02 17:15 UTC]
Automatic comment on behalf of
Log: Fix bug #74031
 [2017-02-02 17:15 UTC]
-Status: Open +Status: Closed
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Apr 13 21:01:23 2021 UTC