php.net |  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:
MUST BE VALID
Solve the problem:
35 - 17 = ?
Subscribe to this entry?

 
 [2013-05-07 17:09 UTC] rainer-phpbugs at 7val dot com
Description:
------------
---
From manual page: http://www.php.net/imagick.getimagechannelstatistics#refsect1-imagick.getimagechannelstatistics-description
---

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"



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-06-16 19:43 UTC] danack@php.net
-Assigned To: +Assigned To: danack
 [2016-06-25 15:36 UTC] cmb@php.net
-Package: Documentation problem +Package: imagick
 [2017-10-24 09:44 UTC] danack@php.net
-Status: Assigned +Status: Verified
 [2017-10-24 09:44 UTC] danack@php.net
Unassigning - anyone can work on documentation.
 [2017-10-24 09:45 UTC] danack@php.net
-Assigned To: danack +Assigned To:
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 19:01:33 2024 UTC