$a = 1;// this is the same as $a = $a + 3;$a += 3;// this is the same as $a = $a - 2;$a -= 2;
<?php// and there is more :)$m = 4;$m *= 3;echo '<br />$m = '.$m;// $m = 12$m /= 2;echo '<br />$m = '.$m;// $m = 6;// and more...$a = 2;$b = 3 + $a--;$c = 3 + --$a;echo '<br />$a = '.$a;echo '<br />$b = '.$b;echo '<br />$c = '.$c;/*will output$a = 0 ( 2 -1 -1 )$b = 5$c = 3WHY?* here, $a is still 2$b = 3 + $a--;* here $a is 1 (after the -- )$c = 3 + --$a; // BUT here, it's 0 before the '+' operation* here $a is 0*/?>