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
 [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

Pull Requests

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 Dec 12 08:01:27 2024 UTC