#48382 [NEW]: man page error.
| From: | qasimtoep at phxcc dot com | Date: | Mon, 25 May 2009 09:55:36 +0000 |
| Subject: | #48382 [NEW]: man page error. | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-2301@lists.php.net to get a copy of this message | ||
From: qasimtoep at phxcc dot com
Operating system:
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: man page error.
Description:
------------
probable error / typo in man page: example php code.
Reproduce code:
---------------
---
From manual page: image.examples.merged-watermark
---
// First we create our stamp image manually from GD
$stamp = imagecreatetruecolor(100, 70);
imagefilledrectangle($stamp, 0,0, 99, 99, 0x0000FF);
Expected result:
----------------
The example code (line 6) shows an image 100x70 created.
But the next line (line7) shows a rectangle created 100x100 within that
image. I think that it should create a 100x70 rectangle with ($stamp, 0,0,
99, 69, 0x0000FF)
The example resulting gif has a rectangle that corresponds to this size.
* also note, your issue reporting interface is the best I have ever used
on the web :)
--
Edit bug report at http://bugs.php.net/?id=48382&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48382&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48382&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48382&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=48382&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48382&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=48382&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=48382&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=48382&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=48382&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=48382&r=support
Expected behavior: http://bugs.php.net/fix.php?id=48382&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=48382&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=48382&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=48382&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48382&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=48382&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=48382&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=48382&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=48382&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=48382&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=48382&r=mysqlcfg