Doc #63421 [Com]: Incorrect Imagick::thumbnailImage description

From: Date: Sat, 03 Nov 2012 00:32:38 +0000
Subject: Doc #63421 [Com]: Incorrect Imagick::thumbnailImage description
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-9046@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 Comment by: mail+php at requinix dot net Reported by: tech at sym dot ru Summary: Incorrect Imagick::thumbnailImage description Status: Open Type: Documentation Problem Package: Documentation problem Operating System: Windows PHP Version: Irrelevant Block user comment: N Private report: N New Comment: 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). Previous Comments: ------------------------------------------------------------------------ [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 (#9046) next »