Re: cvs: phpdoc /en/language expressions.xml

From: Date: Thu, 12 Feb 2004 13:01:11 +0000
Subject: Re: cvs: phpdoc /en/language expressions.xml
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969358938@lists.php.net to get a copy of this message
WTF ???? Please revert this !!! (private joke, the commit is fine for me =D) Vincent Briet wrote:
poz Thu Feb 12 07:53:04 2004 EDT
  Modified files:                  /phpdoc/en/language	expressions.xml   Log:
Fixing #27223 # added a link and removed the conflictual sentence http://cvs.php.net/diff.php/phpdoc/en/language/expressions.xml?r1=1.25&r2=1.26&ty=u Index: phpdoc/en/language/expressions.xml diff -u phpdoc/en/language/expressions.xml:1.25 phpdoc/en/language/expressions.xml:1.26 --- phpdoc/en/language/expressions.xml:1.25 Sat Jan 17 16:02:49 2004 +++ phpdoc/en/language/expressions.xml Thu Feb 12 07:53:04 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.25 $ --> +<!-- $Revision: 1.26 $ --> <chapter id="language.expressions">
    <title>Expressions</title>
    <simpara>
@@ -39,7 +39,8 @@
    </para>
    <simpara>
     Assuming you're familiar with the concept of functions (if you're
-    not, take a look at the chapter about functions), you'd assume
+    not, take a look at the chapter about <link
+    linkend="functions">functions</link>), you'd assume
     that typing <literal>$c = foo()</literal> is essentially just like
     writing <literal>$c = 5</literal>, and you're right.  Functions
     are expressions with the value of their return value.  Since foo()
@@ -181,9 +182,7 @@
     </informalexample>
    </para>
    <simpara>
-    In the beginning of the chapter we said that we'll be describing
-    the various statement types, and as promised, expressions can be
-    statements.  However, not every expression is a statement.  In
+    Some expressions can be considered as statements. In
     this case, a statement has the form of 'expr' ';' that is, an
     expression followed by a semicolon.  In '$b=$a=5;', $a=5 is a
     valid expression, but it's not a statement by itself.  '$b=$a=5;'


« previous php.doc (#969358938) next »