Doc #64622 [Com]: The variable $color_fondo, is not used.

From: Date: Mon, 06 May 2013 11:41:39 +0000
Subject: Doc #64622 [Com]: The variable $color_fondo, is not used.
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-9780@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=64622&edit=1 ID: 64622 Comment by: noel_fb at hotmail dot com Reported by: noel_fb at hotmail dot com Summary: The variable $color_fondo, is not used. Status: Open Type: Documentation Problem Package: Documentation problem Operating System: Windows PHP Version: Irrelevant Block user comment: N Private report: N New Comment: Can I help to solve de fix? Or i'm not access to edith the example? Previous Comments: ------------------------------------------------------------------------ [2013-05-06 00:41:16] pete at petermcdonald dot co dot uk To further my previous comment this behaviour is explained in the documentation on imagecolorallocate "The first call to imagecolorallocate() fills the background color in palette- based images - images created using imagecreate()." http://uk3.php.net/manual/en/function.imagecolorallocate.php ------------------------------------------------------------------------ [2013-05-06 00:37:02] pete at petermcdonald dot co dot uk The colour specified by $color_fondo is setting the background colour as can be demonstrated by using the sample code then changing the numerical values. ------------------------------------------------------------------------ [2013-04-10 11:57:25] noel_fb at hotmail dot com Description: ------------ --- From manual page: http://www.php.net/function.imagecreate#refsect1-function.imagecreate-examples --- The variable $color_fondo, is not used. Expected result: ---------------- the variable must be used Actual result: -------------- the variable is not used ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=64622&edit=1

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