added CDATA tag for example

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@68103 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
irc-html 2002-01-19 12:01:10 +00:00
parent 43bae8ab7a
commit 2164b41ae7

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.51 $ -->
<!-- $Revision: 1.52 $ -->
<chapter id="control-structures">
<title>Control Structures</title>
@ -297,7 +297,7 @@ endwhile;
checked at the end of each iteration instead of in the beginning.
The main difference from regular <literal>while</literal> loops is
that the first iteration of a <literal>do..while</literal> loop is
guarenteed to run (the truth expression is only checked at the end
guaranteed to run (the truth expression is only checked at the end
of the iteration), whereas it's may not necessarily run with a
regular <literal>while</literal> loop (the truth expression is
checked at the beginning of each iteration, if it evaluates to
@ -876,7 +876,7 @@ endswitch;
<para>
The <literal>declare</literal> construct is used to
set execution directives for a block of code.
The syntax of <literal>declare</literal> is similiar to
The syntax of <literal>declare</literal> is similar to
the syntax of other flow control constructs:
<informalexample>
<programlisting>
@ -1049,6 +1049,7 @@ print_r (profile (TRUE));
<example>
<title>Basic <function>require</function> examples</title>
<programlisting role="php">
<![CDATA[
<?php
require 'prepend.php';
@ -1058,6 +1059,7 @@ require $somefile;
require ('somefile.txt');
?>
]]>
</programlisting>
</example>
</para>