vrana Fri Mar 23 14:09:51 2007 UTC
Modified files:
/phpdoc/en/language operators.xml
Log:
= can be avaluated not only before ! (bug #40820)
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/operators.xml?r1=1.111&r2=1.112&diff_format=u
Index: phpdoc/en/language/operators.xml
diff -u phpdoc/en/language/operators.xml:1.111
phpdoc/en/language/operators.xml:1.112
--- phpdoc/en/language/operators.xml:1.111 Fri Feb 16 05:39:30 2007
+++ phpdoc/en/language/operators.xml Fri Mar 23 14:09:51 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.111 $ -->
+<!-- $Revision: 1.112 $ -->
<chapter id="language.operators">
<title>Operators</title>
<simpara>
@@ -229,8 +229,8 @@
</para>
<note>
<para>
- Although <literal>!</literal> has a higher precedence than
- <literal>=</literal>, PHP will still allow expressions
+ Although <literal>=</literal> has a lower precedence than
+ most other operators, PHP will still allow expressions
similar to the following: <literal>if (!$a = foo())</literal>,
in which case the return value of <literal>foo()</literal> is
put into <varname>$a</varname>.