On 06 April 2004 19:30, Friedhelm Betz wrote: > betz Tue Apr 6 14:29:54 2004 EDT > > Modified files: > /phpdoc/en/language expressions.xml > Log: > user notes integration: four scalar types, comparison > retourns boolean > some links to operators. > nuke PHP/FI > -75,10 +74,11 @@ </simpara> > <simpara> > Another good example of expression orientation is pre- and > - post-increment and decrement. Users of PHP/FI 2 and many other > + post-increment and decrement. Users of PHP and many other > languages may be familiar with the notation of variable++ and > - variable--. These are increment and decrement operators. In > - PHP/FI 2, the statement '$a++' has no value (is not an > + variable--. These are <link > linkend="language.operators.increment"> > + increment and decrement operators</link>. In > + PHP, the statement '$a++' has no value (is not an > expression), and thus you can't assign it or use it in any way. > PHP enhances the increment/decrement capabilities by making > these expressions as well, like in C. In PHP, like in C, there
Ummmm... This now says "In PHP, the statement '$a++' has no value ... In PHP ... these [are] expressions as well". You need to nuke the entire sentence that originally referred to PHP/FI 2 since that is no longer true for current PHP versions. The remaining sections then don't hang well together, and ideally need a total rewrite along the lines of: Another good example of expression orientation is pre- and post-increment and decrement. Users of other languages may be familiar with the notation of variable++ and variable--. PHP also provides these <link linkend="language.operators.increment">increment and decrement operators</link> and, just as in C, they are expressions as well. In PHP, like in C, there Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: [EMAIL PROTECTED] Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211