Changes

PHP Operators

161 bytes added, 20:13, 30 May 2007
PHP Increment and Decrement Operators
<tr>
<td>$var++<td>Postincrement<td>Increments the variable value after it is used in rest of expression<td>$var = 10;<br>$var2 = $var;<br>$var = $var + 1;</td>
<tr>
<td>$var--<td>Postdecrement<td>Decrements the variable value after it is used in rest of expression<td>$var = 10;<br>$var2 = $var;<br>$var = $var - 1;</td>
</table>