vrana Tue Jul 27 17:30:24 2004 EDT
Modified files:
/phpdoc/en/language operators.xml
Log:
Unary minus (bug #28223)
http://cvs.php.net/diff.php/phpdoc/en/language/operators.xml?r1=1.75&r2=1.76&ty=u
Index: phpdoc/en/language/operators.xml
diff -u phpdoc/en/language/operators.xml:1.75 phpdoc/en/language/operators.xml:1.76
--- phpdoc/en/language/operators.xml:1.75 Tue Jul 27 08:42:14 2004
+++ phpdoc/en/language/operators.xml Tue Jul 27 17:30:24 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.75 $ -->
+<!-- $Revision: 1.76 $ -->
<chapter id="language.operators">
<title>Operators</title>
<simpara>
@@ -62,7 +62,7 @@
</row>
<row>
<entry>right</entry>
- <entry>! ~ ++ -- (int) (float) (string) (array) (object) @</entry>
+ <entry>! ~ - ++ -- (int) (float) (string) (array) (object) @</entry>
</row>
<row>
<entry>left</entry>
@@ -186,6 +186,11 @@
</row>
</thead>
<tbody>
+ <row>
+ <entry>-$a</entry>
+ <entry>Negation</entry>
+ <entry>Opposite of $a.</entry>
+ </row>
<row>
<entry>$a + $b</entry>
<entry>Addition</entry>