Increment operator and decrement operator
$a = 10;
$a + +;
echo $a;
The above $a is the output item so it is assigned first and then the operation
$a value is 11
-----------------------------------------------------------
echo "";
$e = 10;
-$e;
Echo $e;
The above $e is the output item so the operation is then assigned
$e value is 9
-----------------------------------------------------------
echo "";
$b = 10;
$x = $b + + + + $b;
echo $b. " ";
echo $x;
Above ($b + 1) plus (+1 of $b)
+ + $b First operation and then use
At this point the value of the first $b is 10;
The corresponding second value is 12
-----------------------------------------------------------
echo "";
$c = 10;
$z = $c + + + $c + +;
echo $c. " ";
Echo $z;
The above $c + + first use the re-operation
At this point the value of the first $c is 10;
The second value is 12
-----------------------------------------------------------
The above describes the 0408 learning-self-reduction, including 040,408 aspects of the content, I hope to be interested in PHP tutorial friends helpful.