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
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:
Package:
Bug Type:
Summary:
From: rainer-phpbugs at 7val dot com
New email:
PHP Version: OS:

 

 [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-2019 The PHP Group
All rights reserved.
Last updated: Sun May 26 13:01:25 2019 UTC