cvs: phpdoc /en/language control-structures.xml

From: Date: Sat, 19 Jan 2002 12:01:12 +0000
Subject: cvs: phpdoc /en/language control-structures.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969341424@lists.php.net to get a copy of this message
irc-html Sat Jan 19 07:01:12 2002 EDT Modified files: /phpdoc/en/language control-structures.xml Log: added CDATA tag for example Index: phpdoc/en/language/control-structures.xml diff -u phpdoc/en/language/control-structures.xml:1.51 phpdoc/en/language/control-structures.xml:1.52 --- phpdoc/en/language/control-structures.xml:1.51 Sat Jan 19 05:37:31 2002 +++ phpdoc/en/language/control-structures.xml Sat Jan 19 07:01:10 2002 @@ -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 @@ 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 @@ <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 @@ <example> <title>Basic <function>require</function> examples</title> <programlisting role="php"> +<![CDATA[ <?php require 'prepend.php'; @@ -1058,6 +1059,7 @@ require ('somefile.txt'); ?> +]]> </programlisting> </example> </para>

« previous php.doc (#969341424) next »