operator precedence missing
| From: | James E. Flemer | Date: | Sun, 19 Jan 2003 05:24:49 +0000 |
| Subject: | operator precedence missing | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969351048@lists.php.net to get a copy of this message | ||
The operator precedence table[1] is missing several
operators. The following operators are missing:
"->" class member operator
"::" scope resolution operator
"<>" not equals (same precedence as "!=" ?)
Also missing are a few casts: (bool), (boolean), (real),
(double), (integer). Though, all but the first of these
are synonyms.
The "=>" is not listed, but I believe this is not actually
an operator.
I am about 90% done writing a bison grammar for PHP, but
will have to do some code reading to find the precedence of
the class related operators. If someone knows where they
should go, I'd appreciate a reply.
[1] http://www.php.net/manual/en/language.operators.php
-James [ not on list, please cc ]