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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 04:00:01 2026 UTC