|  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
18 + 33 = ?
Subscribe to this entry?

 [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: Mon Apr 12 16:01:23 2021 UTC