note 12150 deleted from language.operators by tularis
| From: | tularis@php.net | Date: | Tue, 12 Oct 2004 14:06:40 +0000 |
| Subject: | note 12150 deleted from language.operators by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-78421@lists.php.net to get a copy of this message | ||
Note Submitter: yasuo_ohgaki at hotmail dot com
----
In C++/Java, there is scope resolution operator "::". PHP has it also. "::" can
be used like C++/Java.
Like "::", there is "->" member selector operator(?). In C++, "::"
has highest precedence. "->" is second highest precedence. "->" has same
precedence as [],(). (Left associative and Level 16 in C++ Primer 2nd Edtion, Stanly B. Lippman) It
seems PHP4 is the same. (I don't read PHP source code, so I can be wrong)
(These may not be a operator in PHP, since I've posted as note about it long time ago and I
cannot see it now. But these operators(?) must be considered when programmer are dealing with
precedence. Isn't it?)