in reply to To get 14...
in thread post-increment/pre-increment blues

++ has higher precedence than +, but that's irrelevant. Precedence only determines how things are parsed. It does not determine the order of evaluation.

As pointed out to people before, the value of the expression ++$i + $i++ + 1 is undefined. Any reasoning about what the value would be is a futile exercise. Any answer is as good (or wrong) as any other.

Abigail