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

From: Date: Sun, 15 Sep 2002 05:04:36 +0000
Subject: cvs: phpdoc /en/language control-structures.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969348660@lists.php.net to get a copy of this message
erica Sun Sep 15 01:04:36 2002 EDT Modified files: /phpdoc/en/language control-structures.xml Log: Fixed minor grammatical errors. Index: phpdoc/en/language/control-structures.xml diff -u phpdoc/en/language/control-structures.xml:1.63 phpdoc/en/language/control-structures.xml:1.64 --- phpdoc/en/language/control-structures.xml:1.63 Wed Aug 28 05:40:31 2002 +++ phpdoc/en/language/control-structures.xml Sun Sep 15 01:04:35 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.63 $ --> +<!-- $Revision: 1.64 $ --> <chapter id="control-structures"> <title>Control Structures</title> @@ -782,11 +782,11 @@ </informalexample> </para> <simpara> - Here, if $i equals to 0, PHP would execute all of the print - statements! If $i equals to 1, PHP would execute the last two - print statements, and only if $i equals to 2, you'd get the - 'expected' behavior and only 'i equals 2' would be displayed. So, - it's important not to forget <literal>break</literal> statements + Here, if $i is equal to 0, PHP would execute all of the print + statements! If $i is equal to 1, PHP would execute the last two + print statements. You would get the expected behavior ('i equals 2' + would be displayed) only if $i is equal to 2. Thus, + it is important not to forget <literal>break</literal> statements (even though you may want to avoid supplying them on purpose under certain circumstances). </simpara> @@ -901,8 +901,8 @@ </para> <para> The <literal>statement</literal> part of the - <literal>declare</literal> block will be executed - how - it is executed and what side-effects occur during execution + <literal>declare</literal> block will be executed -- how + it is executed and what side effects occur during execution may depend on the directive set in the <literal>directive</literal> block. </para> @@ -917,7 +917,7 @@ <literal>directive</literal> section. </para> <para> - The event(s) that occurs on each tick is specified using the + The event(s) that occur on each tick are specified using the <function>register_tick_function</function>. See the example below for more details. Note that more than one event can occur for each tick.

« previous php.doc (#969348660) next »