Hi,
I tried for fun what happend when i do
$i=$i++
and noticed it (unlike gcc) evaluated to 0. Now i tried
$i= 0 + $i++;$i = ++$i + $i++;
and that gave $i=0, i then tried
$i = ++$i + $i++;
and that gave 3. My last test really confused me:
$i = $i++ + ++$i
it evaluated to 2.
I fail to see the consistensy here, can someone please enlighten me?
/jon