svn: /phpdoc/en/trunk/reference/image/functions/ imagecreatefromxpm.xml
| From: | Yago Ferrer | Date: | Sat, 16 Jan 2010 15:41:58 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/image/functions/ imagecreatefromxpm.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-5868@lists.php.net to get a copy of this message | ||
yago Sat, 16 Jan 2010 15:41:58 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=293620
Log:
Error in the variable name.
Changed paths:
U phpdoc/en/trunk/reference/image/functions/imagecreatefromxpm.xml
Modified: phpdoc/en/trunk/reference/image/functions/imagecreatefromxpm.xml
===================================================================
--- phpdoc/en/trunk/reference/image/functions/imagecreatefromxpm.xml 2010-01-16 15:41:21 UTC (rev
293619)
+++ phpdoc/en/trunk/reference/image/functions/imagecreatefromxpm.xml 2010-01-16 15:41:58 UTC (rev
293620)
@@ -60,8 +60,8 @@
// PHP has no support for writing xpm images
// so in this case we save the image as a
// jpeg file with 100% quality
-imagejpeg($im, './example.jpg', 100);
-imagedestroy($im);
+imagejpeg($xpm, './example.jpg', 100);
+imagedestroy($xpm);
?>
]]>
</programlisting>