Doc #71691 [Opn->Csd]: $only_names has the opposite effect
| From: | carusogabriel@php.net | Date: | Sun, 15 Jul 2018 23:52:57 +0000 |
| Subject: | Doc #71691 [Opn->Csd]: $only_names has the opposite effect | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-15890@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71691&edit=1
ID: 71691
Updated by: carusogabriel@php.net
Reported by: contac at duzun dot me
Summary: $only_names has the opposite effect
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: imagick
Operating System: Debian 8
PHP Version: 5.6.18
-Assigned To:
+Assigned To: carusogabriel
Block user comment: N
Private report: N
New Comment:
The documentation was updated to:
> If *FALSE* then only profile names will be returned.
Thanks for the report.
Previous Comments:
------------------------------------------------------------------------
[2016-02-29 14:48:51] contac at duzun dot me
Description:
------------
---
From manual page: http://www.php.net/imagick.getimageprofiles
---
array Imagick::getImageProfiles ([ string $pattern = "*" [, bool $only_names = true ]] )
When $only_names is true, I get values as well.
When $only_names is false, I get only names.
The documentation describes the opposite.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71691&edit=1