cvs: phpdoc /en/reference/image/functions imagecolorallocate.xml
| From: | Etienne Kneuss | Date: | Mon, 16 Oct 2006 19:25:44 +0000 |
| Subject: | cvs: phpdoc /en/reference/image/functions imagecolorallocate.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969374230@lists.php.net to get a copy of this message | ||
colder Mon Oct 16 19:25:44 2006 UTC
Modified files:
/phpdoc/en/reference/image/functions imagecolorallocate.xml
Log:
Fix #39169 (incorrect parameters for imagecreate)
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagecolorallocate.xml?r1=1.10&r2=1.11&diff_format=u
Index: phpdoc/en/reference/image/functions/imagecolorallocate.xml
diff -u phpdoc/en/reference/image/functions/imagecolorallocate.xml:1.10
phpdoc/en/reference/image/functions/imagecolorallocate.xml:1.11
--- phpdoc/en/reference/image/functions/imagecolorallocate.xml:1.10 Mon Jan 2 09:37:26 2006
+++ phpdoc/en/reference/image/functions/imagecolorallocate.xml Mon Oct 16 19:25:44 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.10 $ -->
+<!-- $Revision: 1.11 $ -->
<!-- splitted from ./en/functions/image.xml, last change in rev 1.36 -->
<refentry id="function.imagecolorallocate">
<refnamediv>
@@ -41,7 +41,7 @@
<![CDATA[
<?php
-$im = imagecreate('example.jpg', 100, 100);
+$im = imagecreate(100, 100);
// sets background to red
$background = imagecolorallocate($im, 255, 0, 0);