Voting

: min(seven, three)?
(Example: nine)

The Note You're Voting On

Anonymous
17 years ago
I don't see why it is necessary here to explain pre- and post- incrementing.

This is something that will confuse new users of PHP, even longer time programmers will sometimes miss a the fine details of a construct like that.

If something has a side-effect it should be on a line of it's own, or at least be an expression of it's own and not part of an assignment, condition or whatever.

<< Back to user notes page

To Top