Doc #54159 [NEW]: Wrong Parameter Description
| From: | stfnhch at gmail dot com | Date: | Fri, 04 Mar 2011 08:55:21 +0000 |
| Subject: | Doc #54159 [NEW]: Wrong Parameter Description | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-6052@lists.php.net to get a copy of this message | ||
From:
Operating system: All
PHP version: Irrelevant
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:Wrong Parameter Description
Description:
------------
---
From manual page: http://www.php.net/function.imagick-appendimages
---
The description of the parameter "stack" is wrong. The options are not - as
implied by the documentation - "top to bottom" and "bottom to top", but
"top to button" (given stack == true) and "left to right" (for stack ==
false).
Test script:
---------------
<?php
/* Create new imagick object */
$im = new Imagick();
/* create red, green and blue images */
$im->newImage(100, 50, "red");
$im->newImage(100, 50, "green");
$im->newImage(100, 50, "blue");
/* Append the images into one */
$im->resetIterator();
$combined = $im->appendImages(false);
/* Output the image */
$combined->setImageFormat("png");
header("Content-Type: image/png");
echo $combined;
?>
Actual result:
--------------
The three blocks (in red, green and blue colour respectively) will put the
images next to each other instead of on top of each other as the
documentation implies
--
Edit bug report at http://bugs.php.net/bug.php?id=54159&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=54159&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=54159&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=54159&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=54159&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=54159&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=54159&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=54159&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=54159&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=54159&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=54159&r=support
Expected behavior: http://bugs.php.net/fix.php?id=54159&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=54159&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=54159&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=54159&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=54159&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=54159&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=54159&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=54159&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=54159&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=54159&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=54159&r=mysqlcfg