1Basic operators
2-----
3<?php
4
5$a ** $b;
6
7++$a;
8--$a;
9$a++;
10$a--;
11
12@$a;
13~$a;
14-$a;
15+$a;
16
17(int) $a;
18(integer) $a;
19(float) $a;
20(double) $a;
21(real) $a;
22( float) $a;
23(double ) $a;
24( REAL ) $a;
25(string) $a;
26(binary) $a;
27(array) $a;
28(object) $a;
29(bool) $a;
30(boolean) $a;
31(unset) $a;
32
33$a * $b;
34$a / $b;
35$a % $b;
36$a + $b;
37$a - $b;
38$a . $b;
39$a << $b;
40$a >> $b;
41$a < $b;
42$a <= $b;
43$a > $b;
44$a >= $b;
45$a == $b;
46$a != $b;
47$a <> $b;
48$a === $b;
49$a !== $b;
50$a <=> $b;
51$a & $b;
52$a ^ $b;
53$a | $b;
54$a && $b;
55$a || $b;
56$a ? $b : $c;
57$a ?: $c;
58$a ?? $c;
59$a = $b;
60$a **= $b;
61$a ??= $c;
62$a *= $b;
63$a /= $b;
64$a %= $b;
65$a += $b;
66$a -= $b;
67$a .= $b;
68$a <<= $b;
69$a >>= $b;
70$a &= $b;
71$a ^= $b;
72$a |= $b;
73$a =& $b;
74
75$a and $b;
76$a xor $b;
77$a or $b;
78
79$a instanceof Foo;
80$a instanceof $b;
81-----
82$a ** $b;
83++$a;
84--$a;
85$a++;
86$a--;
87@$a;
88~$a;
89-$a;
90+$a;
91(int) $a;
92(int) $a;
93(float) $a;
94(double) $a;
95(real) $a;
96(float) $a;
97(double) $a;
98(real) $a;
99(string) $a;
100(string) $a;
101(array) $a;
102(object) $a;
103(bool) $a;
104(bool) $a;
105(unset) $a;
106$a * $b;
107$a / $b;
108$a % $b;
109$a + $b;
110$a - $b;
111$a . $b;
112$a << $b;
113$a >> $b;
114$a < $b;
115$a <= $b;
116$a > $b;
117$a >= $b;
118$a == $b;
119$a != $b;
120$a != $b;
121$a === $b;
122$a !== $b;
123$a <=> $b;
124$a & $b;
125$a ^ $b;
126$a | $b;
127$a && $b;
128$a || $b;
129$a ? $b : $c;
130$a ?: $c;
131$a ?? $c;
132$a = $b;
133$a **= $b;
134$a ??= $c;
135$a *= $b;
136$a /= $b;
137$a %= $b;
138$a += $b;
139$a -= $b;
140$a .= $b;
141$a <<= $b;
142$a >>= $b;
143$a &= $b;
144$a ^= $b;
145$a |= $b;
146$a =& $b;
147$a and $b;
148$a xor $b;
149$a or $b;
150$a instanceof Foo;
151$a instanceof $b;
152