SunshinePHP 2019


Please answer this simple SPAM challenge: six plus two?
(Example: nine)

The Note You're Voting On

11 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