Mon Oct 27, 2008 4:34 pm
<?php
Operator Class Associativity
new Unary n/a
[ Unary Right
! Unary ! and ~ are right associative;
~ ++ and-- operators are right or left associative
++
--
(int)
(double)
(string)
(array)
(object)
@
-------------------------------------------------------------------------------------
* / % Binary Left
+ - . Binary Left
<< >> Binary Left
< <= > >= Binary n/a
== != === !== Binary n/a
& Binary Left
^ Binary Left
| Binary Left
&& Binary Left
|| Binary Left
?: Ternary Left
= Binary Left
+=
-=
*=
/=
.=
%=
&=
|=
^=
~=
<<=
>>=
print Unary Right
and Binary Left
xor Binary Left
or Binary Left
, n/a Left
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.