You'd probably better ask this on the development list (cc-ed).

Goba

Jakub Vrana írta:
I'm not a formal languages expert but I wonder how can unary operator be
associative. It also seems that ++ and -- have higher priority than the
rest of unary operators listed on one line. I also don't understand why
"print" is listed among operators.

Do you object against this patch?

RCS file: /repository/phpdoc/en/language/operators.xml,v
retrieving revision 1.76
diff -u -r1.76 operators.xml
--- operators.xml       27 Jul 2004 21:30:24 -0000      1.76
+++ operators.xml       28 Jul 2004 08:52:09 -0000
@@ -61,8 +61,12 @@
         <entry>[</entry>
        </row>
        <row>
-        <entry>right</entry>
-        <entry>! ~ - ++ -- (int) (float) (string) (array) (object) @</entry>
+        <entry>non-associative</entry>
+        <entry>++ --</entry>
+       </row>
+       <row>
+        <entry>non-associative</entry>
+        <entry>! ~ - (int) (float) (string) (array) (object) @</entry>
        </row>
        <row>
         <entry>left</entry>
@@ -115,10 +119,6 @@
         </entry>
        </row>
        <row>
-        <entry>right</entry>
-        <entry>print</entry>
-       </row>
-       <row>
         <entry>left</entry>
         <entry>and</entry>
        </row>


-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to