mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
addd46f533
commit
5310bd135d
1 changed files with 2 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue