cvs: phpdoc /en/language/control-structures else.xml
| From: | Philip Olson | Date: | Sun, 22 Feb 2009 20:29:22 +0000 |
| Subject: | cvs: phpdoc /en/language/control-structures else.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-3325@lists.php.net to get a copy of this message | ||
philip Sun Feb 22 20:29:22 2009 UTC
Modified files:
/phpdoc/en/language/control-structures else.xml
Log:
Implemented user note (grammar): "s/bigger than/greater than/g"
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/control-structures/else.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/language/control-structures/else.xml
diff -u phpdoc/en/language/control-structures/else.xml:1.1
phpdoc/en/language/control-structures/else.xml:1.2
--- phpdoc/en/language/control-structures/else.xml:1.1 Sat Dec 27 01:35:49 2008
+++ phpdoc/en/language/control-structures/else.xml Sun Feb 22 20:29:22 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<sect1 xml:id="control-structures.else" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<title><literal>else</literal></title>
@@ -10,18 +10,18 @@
extends an <literal>if</literal> statement to execute a statement
in case the expression in the <literal>if</literal> statement
evaluates to &false;. For example, the following
- code would display <computeroutput>a is bigger than
- b</computeroutput> if <varname>$a</varname> is bigger than
- <varname>$b</varname>, and <computeroutput>a is NOT bigger
+ code would display <computeroutput>a is greater than
+ b</computeroutput> if <varname>$a</varname> is greater than
+ <varname>$b</varname>, and <computeroutput>a is NOT greater
than b</computeroutput> otherwise:
<informalexample>
<programlisting role="php">
<![CDATA[
<?php
if ($a > $b) {
- echo "a is bigger than b";
+ echo "a is greater than b";
} else {
- echo "a is NOT bigger than b";
+ echo "a is NOT greater than b";
}
?>
]]>