#48382 [Opn->Csd]: man page error.

From: Date: Mon, 25 May 2009 18:16:57 +0000
Subject: #48382 [Opn->Csd]: man page error.
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-2304@lists.php.net to get a copy of this message
ID: 48382 Updated by: kalle@php.net Reported By: qasimtoep at phxcc dot com -Status: Open +Status: Closed Bug Type: Documentation problem -Operating System: +Operating System: * PHP Version: Irrelevant -Assigned To: +Assigned To: kalle New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2009-05-25 09:55:36] qasimtoep at phxcc dot com 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 this bug report at http://bugs.php.net/?id=48382&edit=1

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