mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Error in the variable name.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@293620 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
5aaa6a4f54
commit
dff28894d8
1 changed files with 2 additions and 2 deletions
|
@ -60,8 +60,8 @@ $xpm = imagecreatefromxpm('./example.xpm');
|
|||
// 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>
|
||||
|
|
Loading…
Reference in a new issue