[ create a new paste ] login | about

Link: http://codepad.org/uHeKsZGJ    [ 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; //Decrement and then echo
    echo "\n";
    echo $number2--; //Echo and then decrement
    echo "\n";
    echo $number2; //Simply echo
?>


Output:
1
2
3
2
3
2


Create a new paste based on this one


Comments: