php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #71691 $only_names has the opposite effect
Submitted: 2016-02-29 14:48 UTC Modified: 2018-07-15 23:52 UTC
From: contac at duzun dot me Assigned: carusogabriel (profile)
Status: Closed Package: imagick (PECL)
PHP Version: 5.6.18 OS: Debian 8
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: contac at duzun dot me
New email:
PHP Version: OS:

 

 [2016-02-29 14:48 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-07-15 23:52 UTC] carusogabriel@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: carusogabriel
 [2018-07-15 23:52 UTC] carusogabriel@php.net
The documentation was updated to:

> If *FALSE* then only profile names will be returned.

Thanks for the report.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 21:01:36 2024 UTC