Assignment operators
$x = 10
$y = 2
$z = 3
Execute the statement $x += $y; // $x = $x + $y = 10 + 2
$x = 12
Execute the statement $x -= $z; // $x = $x - $z = 12 - 3
$x = 9
Execute the statement $x *= $z; // $x = $x * $z = 9 * 3
$x = 27
Execute the statement $x /= $z; // $x = $x / $z = 27 / 3
$x = 9
Execute the statement $x %= $y; // $x = $x % $y = 9 % 2
$x = 1
Execute the statement $y++; // $y = $y + 1 = 2 + 1
$y = 3
Execute the statement $z--; // $z = $z - 1 = 3 - 1
$z = 2
$name = 'John'
$surname = 'Doe'
Execute the statement $name .= $surname; // $name = $name . $surname = 'John' . 'Doe'
$name = 'JohnDoe'