[ create a new paste ] login | about

Link: http://codepad.org/pGH5RcpS    [ raw code | output | fork ]

PHP, pasted on Jun 26:
1
2
3
4
5
6
7
8
9
<?php
    $number1 = 3;
    $number2 = 3;
    echo ++$number1; //Increment and then echo
    echo "\n";
    echo $number2++; //Echo and then increment
    echo "\n";
    echo $number2; //Simply echo
?>


Output:
1
2
3
4
3
4


Create a new paste based on this one


Comments: