#php #php / operator / assignment operator The assignment operator in PHP is =. Save the right side of the equal sign to the left side of the equal sign. $a = 10; Assign 10 to variable a. $a = 10; $a = 20; If you assign multiple times, the last assigned will be the value. So the value of variable a is 20. $a = 10; $a = $a + 10; You can use existing values. The value of variable a is 20.