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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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: Thu Aug 22 07:01:26 2019 UTC