Doc #63421 [Opn->Nab]: Incorrect Imagick::thumbnailImage description

From: Date: Sat, 03 Nov 2012 04:15:02 +0000
Subject: Doc #63421 [Opn->Nab]: Incorrect Imagick::thumbnailImage description
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-9049@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=63421&edit=1 ID: 63421 Updated by: frozenfire@php.net Reported by: tech at sym dot ru Summary: Incorrect Imagick::thumbnailImage description -Status: Open +Status: Not a bug Type: Documentation Problem Package: Documentation problem Operating System: Windows PHP Version: Irrelevant Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2012-11-03 00:32:38] 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-02 14:54:10] 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. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=63421&edit=1

« previous php.doc.bugs (#9049) next »