Fixed minor grammatical errors.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@95750 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Erica Douglass 2002-09-15 05:04:35 +00:00
parent 8d8b99f22b
commit 5fe72612a7

View file

@ -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 @@ switch ($i) {
</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 @@ declare (directive) statement
</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 @@ declare (directive) statement
<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.