Adding open and closing PHP tags.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@293681 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Yago Ferrer 2010-01-17 23:20:55 +00:00
parent addd46f533
commit 5310bd135d

View file

@ -104,6 +104,7 @@ imagedestroy($im);
<title>Outputting the image with a different foreground</title>
<programlisting role="php">
<![CDATA[
<?php
// Create a blank image and add some text
$im = imagecreatetruecolor(120, 20);
$text_color = imagecolorallocate($im, 233, 14, 91);
@ -120,6 +121,7 @@ imagewbmp($im, NULL, $foreground_color);
// Free up memory
imagedestroy($im);
?>
]]>
</programlisting>
</example>