Hello every, I am trying to learn PHP I am going through the a php tutorial. I copied and paste an example program into TextPad.
Arithmetical Operators <?php $a = 42; $f = 10;$c = $f++;
echo "Increment Operation Result: $c <br/>";
$c = $a--;
echo "Decrement Operation Result: $c <br/>";
?>
This will produce following result:Increment Operation Result: 10
Decrement Operation Result: 42
I think the Result for $f should be 11 and for $a should be 41;
Am I missing anything?