34,333
edits
Changes
→Assignment Operators
<tr>
<td>/=<td>Division-Assignment<td>Divides the left hand operand by value of the right hand operand assigning result to left hand operand<td>$myVar = 10;<br>$myVar /= 5;</td>
<tr>
<td>.=<td>Concatenation-Operand<td>Sets the value of the left hand operand to a string containing a concatenation of its value with the right hand operand<td>$sampleString="My color is ";<br>$sampleString += "blue";
<tr>
<td>%=<td>Modulo-Assignment<td>Sets the value of the left hand operand to the remainder of the value after being divided by the right hand operand<td>$myVar = 10;<br>$myVar %= 5;</td>
</table>