Voting

: max(seven, six)?
(Example: nine)

The Note You're Voting On

shawnster
17 years ago
An easy fix (although intuitively tough to do...) is to reverse the comparison.

if (5 == $a) {}

If you forget the second '=', you'll get a parse error for trying to assign a value to a non-variable.

<< Back to user notes page

To Top