|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #64784 No example, wrong return
Submitted: 2013-05-07 17:09 UTC Modified: 2017-10-24 09:45 UTC
From: rainer-phpbugs at 7val dot com Assigned:
Status: Verified Package: imagick (PECL)
PHP Version: 5.4.14 OS:
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 — but make sure to vote on the bug!
Your email address:
Solve the problem:
46 + 43 = ?
Subscribe to this entry?

 [2013-05-07 17:09 UTC] rainer-phpbugs at 7val dot com
From manual page:

The Description ends with 

 Returns statistics for each channel in the image. The statistics include the channel depth, its minima and maxima, the mean, and the standard deviation. You can access the red channel mean, for example, like this: 

and is not followed by the example promised.

the Description lists the prototype as array Imagick::getImageChannelStatistics ( void ), while the Return Value section claims "Returns TRUE on success"


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-06-16 19:43 UTC]
-Assigned To: +Assigned To: danack
 [2016-06-25 15:36 UTC]
-Package: Documentation problem +Package: imagick
 [2017-10-24 09:44 UTC]
-Status: Assigned +Status: Verified
 [2017-10-24 09:44 UTC]
Unassigning - anyone can work on documentation.
 [2017-10-24 09:45 UTC]
-Assigned To: danack +Assigned To:
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Fri Dec 08 12:01:27 2023 UTC