php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #63421 Incorrect Imagick::thumbnailImage description
Submitted: 2012-11-02 14:54 UTC Modified: 2012-11-03 04:15 UTC
From: tech at sym dot ru Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS: Windows
Private report: No CVE-ID: None
 [2012-11-02 14:54 UTC] tech at sym dot ru
Description:
------------
It seems to be a bug in inline description of Imagick::thumbnailImage function:

bool Imagick::thumbnailImage ( int $columns , int $rows [, bool $bestfit = false 
[, bool $fill = false ]] )

There is no 4th parameter `$fill`, and it's not mentioned anywhere in description.

Anyway, if I try to set 4th parameter, I get:
Warning: Imagick::thumbnailimage() expects at most 3 parameters, 4 given in ...

[direct link: http://php.net/manual/en/imagick.thumbnailimage.php]

Expected result:
----------------
Change description text.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-11-03 00:32 UTC] mail+php at requinix dot net
I'm looking at the source code in trunk and it takes four parameters, exactly as 
described in the documentation. Are you sure you're using a recent version of 
PHP/Imagick? The $fill parameter was added about three years ago (Oct 15, rev 
289647).
 [2012-11-03 04:15 UTC] frozenfire@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.


 [2012-11-03 04:15 UTC] frozenfire@php.net
-Status: Open +Status: Not a bug
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 01:00:01 2026 UTC