SHOW:
|
|
- or go back to the newest paste.
1 | <?php | |
2 | - | |
2 | + | $variable = 1; |
3 | - | $variable = 1; |
3 | + | $variable .= 2; |
4 | - | echo $variable; |
4 | + | echo $variable; // output will be 12 |
5 | - | $variable = 2; |
5 | + | //This is a better way of doing it |
6 | - | echo $variable; |
6 | + |