Changes

Jump to: navigation, search

PHP Operators

366 bytes added, 19:48, 29 May 2007
Assignment Operators
<tr>
<td>*=<td>Multiplication-Assignment<td>Multiplies 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>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>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>

Navigation menu