Changes

Jump to: navigation, search

PHP Operators

No change in size, 19:31, 11 May 2009
PHP Assignment Operators
<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>
<tr>
<td>.=<td>Concatenation-Operand<td>Sets the value of the left hand operand to a string containing a concatenation of its value appended with the string in the right hand operand<td>$sampleString="My color is ";<br>$sampleString +.= "blue";
</table>

Navigation menu