PHP 7.2.0 Release Candidate 2 Released

Voting

Please answer this simple SPAM challenge: four plus zero?
(Example: nine)

The Note You're Voting On

shawnster
10 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